Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ids to all entities #215

Merged
merged 6 commits into from
Jun 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions bluetooth-proxy/esp32-generic-c3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ improv_serial:

ota:
- platform: esphome
id: ota_esphome

dashboard_import:
package_import_url: github://esphome/firmware/bluetooth-proxy/esp32-generic-c3.yaml@main
Expand All @@ -48,5 +49,6 @@ bluetooth_proxy:

button:
- platform: safe_mode
id: button_safe_mode
name: Safe Mode Boot
entity_category: diagnostic
2 changes: 2 additions & 0 deletions bluetooth-proxy/esp32-generic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ improv_serial:

ota:
- platform: esphome
id: ota_esphome

dashboard_import:
package_import_url: github://esphome/firmware/bluetooth-proxy/esp32-generic.yaml@main
Expand All @@ -41,5 +42,6 @@ bluetooth_proxy:

button:
- platform: safe_mode
id: button_safe_mode
name: Safe Mode Boot
entity_category: diagnostic
10 changes: 7 additions & 3 deletions bluetooth-proxy/gl-s10.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ api:
logger:
ota:
- platform: esphome
id: ota_esphome

dashboard_import:
package_import_url: github://esphome/firmware/bluetooth-proxy/gl-s10.yaml@main
Expand Down Expand Up @@ -70,6 +71,7 @@ bluetooth_proxy:

button:
- platform: safe_mode
id: button_safe_mode
name: Safe Mode Boot
entity_category: diagnostic

Expand All @@ -87,6 +89,7 @@ binary_sensor:
number: GPIO33
inverted: true
name: "Reset Button"
id: binary_sensor_reset_button

# output settings for LED's marked Power and Bluetooth
# power LED use: see code line 15
Expand All @@ -103,6 +106,7 @@ output:

# since these pins are broken out inside and labeled as I2C pins they're configured here
i2c:
sda: 15
scl: 13
scan: true
- id: i2c_bus
sda: 15
scl: 13
scan: true
2 changes: 2 additions & 0 deletions bluetooth-proxy/lilygo-t-eth-poe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ api:
logger:
ota:
- platform: esphome
id: ota_esphome

dashboard_import:
package_import_url: github://esphome/firmware/bluetooth-proxy/lilygo-t-eth-poe.yaml@main
Expand All @@ -46,5 +47,6 @@ bluetooth_proxy:

button:
- platform: safe_mode
id: button_safe_mode
name: Safe Mode Boot
entity_category: diagnostic
2 changes: 2 additions & 0 deletions bluetooth-proxy/m5stack-atom-lite.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ improv_serial:

ota:
- platform: esphome
id: ota_esphome

dashboard_import:
package_import_url: github://esphome/firmware/bluetooth-proxy/m5stack-atom-lite.yaml@main
Expand All @@ -41,5 +42,6 @@ bluetooth_proxy:

button:
- platform: safe_mode
id: button_safe_mode
name: Safe Mode Boot
entity_category: diagnostic
2 changes: 2 additions & 0 deletions bluetooth-proxy/m5stack-atomS3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ improv_serial:

ota:
- platform: esphome
id: ota_esphome

dashboard_import:
package_import_url: github://esphome/firmware/bluetooth-proxy/m5stack-atomS3.yaml@main
Expand All @@ -44,5 +45,6 @@ bluetooth_proxy:

button:
- platform: safe_mode
id: button_safe_mode
name: Safe Mode Boot
entity_category: diagnostic
2 changes: 2 additions & 0 deletions bluetooth-proxy/olimex-esp32-poe-iso.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ api:
logger:
ota:
- platform: esphome
id: ota_esphome

dashboard_import:
package_import_url: github://esphome/firmware/bluetooth-proxy/olimex-esp32-poe-iso.yaml@main
Expand All @@ -43,5 +44,6 @@ bluetooth_proxy:

button:
- platform: safe_mode
id: button_safe_mode
name: Safe Mode Boot
entity_category: diagnostic
2 changes: 2 additions & 0 deletions bluetooth-proxy/wt32-eth01.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ api:
logger:
ota:
- platform: esphome
id: ota_esphome

dashboard_import:
package_import_url: github://esphome/firmware/bluetooth-proxy/wt32-eth01.yaml@main
Expand All @@ -43,5 +44,6 @@ bluetooth_proxy:

button:
- platform: safe_mode
id: button_safe_mode
name: Safe Mode Boot
entity_category: diagnostic
6 changes: 4 additions & 2 deletions media-player/m5stack-atom-echo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ api:

ota:
- platform: esphome
id: ota_esphome

dashboard_import:
package_import_url: github://esphome/firmware/media-player/m5stack-atom-echo.yaml@main
Expand All @@ -29,8 +30,9 @@ captive_portal:
improv_serial:

i2s_audio:
i2s_lrclk_pin: GPIO33
i2s_bclk_pin: GPIO19
- id: i2s_audio_bus
i2s_lrclk_pin: GPIO33
i2s_bclk_pin: GPIO19

microphone:
- platform: i2s_audio
Expand Down
6 changes: 5 additions & 1 deletion media-player/m5stack-atom-speaker-kit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ api:

ota:
- platform: esphome
id: ota_esphome

dashboard_import:
package_import_url: github://esphome/firmware/media-player/m5stack-atom-speaker-kit.yaml@main
Expand All @@ -29,7 +30,8 @@ captive_portal:
improv_serial:

i2s_audio:
- i2s_lrclk_pin: GPIO21
- id: i2s_audio_bus
i2s_lrclk_pin: GPIO21
i2s_bclk_pin: GPIO22

media_player:
Expand All @@ -45,12 +47,14 @@ binary_sensor:
pin:
number: GPIO39
inverted: true
id: top_button
name: Button
on_click:
- media_player.toggle: media_out

light:
- platform: fastled_clockless
id: led
name: None
pin: GPIO27
chipset: SK6812
Expand Down
6 changes: 4 additions & 2 deletions media-player/onju-voice.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ api:

ota:
- platform: esphome
id: ota_esphome

dashboard_import:
package_import_url: github://esphome/firmware/voice-assistant/onju-voice.yaml@main
Expand Down Expand Up @@ -91,8 +92,9 @@ interval:
button: 2

i2s_audio:
i2s_lrclk_pin: GPIO13
i2s_bclk_pin: GPIO18
- id: i2s_audio_bus
i2s_lrclk_pin: GPIO13
i2s_bclk_pin: GPIO18

media_player:
- platform: i2s_audio
Expand Down
13 changes: 10 additions & 3 deletions media-player/raspiaudio-muse-luxe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,12 @@ api:

ota:
- platform: esphome
id: ota_esphome

i2c:
sda: GPIO18
scl: GPIO23
- id: i2c_bus
sda: GPIO18
scl: GPIO23

dashboard_import:
package_import_url: github://esphome/firmware/media-player/raspiaudio-muse-luxe.yaml@main
Expand All @@ -40,7 +42,8 @@ external_components:
es8388:

i2s_audio:
- i2s_lrclk_pin: GPIO25
- id: i2s_audio_bus
i2s_lrclk_pin: GPIO25
i2s_bclk_pin: GPIO5

media_player:
Expand Down Expand Up @@ -103,6 +106,7 @@ voice_assistant:

sensor:
- platform: adc
id: battery_sensor
pin: GPIO33
name: Battery
icon: "mdi:battery-outline"
Expand Down Expand Up @@ -130,6 +134,7 @@ binary_sensor:
input: true
pullup: true
name: Volume Up
id: volume_up
on_click:
- media_player.volume_up: luxe_out
- platform: gpio
Expand All @@ -140,6 +145,7 @@ binary_sensor:
input: true
pullup: true
name: Volume Down
id: volume_down
on_click:
- media_player.volume_down: luxe_out
- platform: gpio
Expand All @@ -150,6 +156,7 @@ binary_sensor:
input: true
pullup: true
name: Action
id: action_button
on_multi_click:
- timing:
- ON FOR AT MOST 350ms
Expand Down
5 changes: 4 additions & 1 deletion media-player/raspiaudio-muse-proto.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ api:

ota:
- platform: esphome
id: ota_esphome

dashboard_import:
package_import_url: github://esphome/firmware/media-player/raspiaudio-muse-proto.yaml@main
Expand All @@ -29,7 +30,8 @@ captive_portal:
improv_serial:

i2s_audio:
- i2s_lrclk_pin: GPIO25
- id: i2s_audio_bus
i2s_lrclk_pin: GPIO25
i2s_bclk_pin: GPIO5

microphone:
Expand Down Expand Up @@ -111,6 +113,7 @@ binary_sensor:
input: true
pullup: true
name: Action
id: action_button
on_multi_click:
- timing:
- ON FOR AT MOST 350ms
Expand Down
8 changes: 6 additions & 2 deletions voice-assistant/esp32-s3-box-3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ api:

ota:
- platform: esphome
id: ota_esphome

logger:
hardware_uart: USB_SERIAL_JTAG
Expand Down Expand Up @@ -115,6 +116,7 @@ binary_sensor:
number: GPIO1
inverted: true
name: "Mute"
id: mute_switch
disabled_by_default: true
entity_category: diagnostic

Expand All @@ -124,6 +126,7 @@ binary_sensor:
mode: INPUT_PULLUP
inverted: true
name: Top Left Button
id: top_left_button
disabled_by_default: true
entity_category: diagnostic
on_multi_click:
Expand Down Expand Up @@ -424,8 +427,9 @@ color:
hex: ${error_illustration_background_color}

spi:
clk_pin: 7
mosi_pin: 6
- id: spi_bus
clk_pin: 7
mosi_pin: 6

display:
- platform: ili9xxx
Expand Down
7 changes: 5 additions & 2 deletions voice-assistant/esp32-s3-box-lite.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ api:

ota:
- platform: esphome
id: ota_esphome

logger:
hardware_uart: USB_SERIAL_JTAG
Expand Down Expand Up @@ -171,6 +172,7 @@ binary_sensor:
mode: INPUT_PULLUP
inverted: true
name: Left Top Button
id: left_top_button
disabled_by_default: true
on_multi_click:
- timing:
Expand Down Expand Up @@ -471,8 +473,9 @@ color:
hex: ${error_illustration_background_color}

spi:
clk_pin: 7
mosi_pin: 6
- id: spi_bus
clk_pin: 7
mosi_pin: 6

display:
- platform: ili9xxx
Expand Down
8 changes: 6 additions & 2 deletions voice-assistant/esp32-s3-box.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ api:

ota:
- platform: esphome
id: ota_esphome

logger:
hardware_uart: USB_SERIAL_JTAG
Expand Down Expand Up @@ -109,6 +110,7 @@ binary_sensor:
number: GPIO1
inverted: true
name: "Mute"
id: mute_switch
disabled_by_default: true
entity_category: diagnostic

Expand All @@ -118,6 +120,7 @@ binary_sensor:
mode: INPUT_PULLUP
inverted: true
name: Top Left Button
id: top_left_button
disabled_by_default: true
entity_category: diagnostic
on_multi_click:
Expand Down Expand Up @@ -417,8 +420,9 @@ color:
hex: ${error_illustration_background_color}

spi:
clk_pin: 7
mosi_pin: 6
- id: spi_bus
clk_pin: 7
mosi_pin: 6

display:
- platform: ili9xxx
Expand Down
Loading
Loading