Skip to content
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
26 changes: 25 additions & 1 deletion Integrations/ESPHome/Core.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
substitutions:
version: "26.8.26.1"
version: "26.8.26.2"

run_duration_default: "90s"
run_duration_gpio: "90s"
Expand Down Expand Up @@ -763,6 +763,15 @@ light:

# Segment views; effects run per segment

# All 37 LEDs
- platform: partition
id: all_lights
name: "All Lights"
default_transition_length: 0s
segments:
- { id: led_chain, from: 0, to: 36 }
effects: *led_effects

# LEDs 0-23
- platform: partition
id: body_light
Expand Down Expand Up @@ -811,6 +820,7 @@ light:
script:
- id: all_lights_off
then:
- light.turn_off: all_lights
- light.turn_off: body_light
- light.turn_off: mouth_light
- light.turn_off: eyes_light
Expand Down Expand Up @@ -968,6 +978,8 @@ script:
then:
# Must stop first because Rtttl::play() returns early while a song is running
- rtttl.stop:
# Zone effects below would fight an All Lights effect writing the same buffer
- light.turn_off: all_lights
- light.turn_on:
brightness: 80%
id: body_light
Expand Down Expand Up @@ -1003,6 +1015,8 @@ script:
then:
# Must stop first because Rtttl::play() returns early while a song is running
- rtttl.stop:
# Zone effects below would fight an All Lights effect writing the same buffer
- light.turn_off: all_lights
- light.turn_on:
brightness: 80%
id: body_light
Expand Down Expand Up @@ -1038,6 +1052,8 @@ script:
then:
# Must stop first because Rtttl::play() returns early while a song is running
- rtttl.stop:
# Zone effects below would fight an All Lights effect writing the same buffer
- light.turn_off: all_lights
- light.turn_on:
brightness: 80%
id: body_light
Expand Down Expand Up @@ -1073,6 +1089,8 @@ script:
then:
# Must stop first because Rtttl::play() returns early while a song is running
- rtttl.stop:
# Zone effects below would fight an All Lights effect writing the same buffer
- light.turn_off: all_lights
- light.turn_on:
brightness: 80%
id: body_light
Expand Down Expand Up @@ -1108,6 +1126,8 @@ script:
then:
# Must stop first because Rtttl::play() returns early while a song is running
- rtttl.stop:
# Zone effects below would fight an All Lights effect writing the same buffer
- light.turn_off: all_lights
- light.turn_on:
brightness: 80%
id: body_light
Expand Down Expand Up @@ -1143,6 +1163,8 @@ script:
then:
# Must stop first because Rtttl::play() returns early while a song is running
- rtttl.stop:
# Zone effects below would fight an All Lights effect writing the same buffer
- light.turn_off: all_lights
- light.turn_on:
brightness: 80%
id: body_light
Expand Down Expand Up @@ -1178,6 +1200,8 @@ script:
then:
# Must stop first because Rtttl::play() returns early while a song is running
- rtttl.stop:
# Zone effects below would fight an All Lights effect writing the same buffer
- light.turn_off: all_lights
- light.turn_on:
brightness: 80%
id: body_light
Expand Down
1 change: 1 addition & 0 deletions Integrations/ESPHome/H-3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ esphome:
else:
- esp32_ble_tracker.stop_scan:
on_shutdown:
- light.turn_off: all_lights
- light.turn_off: body_light
- light.turn_off: mouth_light
- light.turn_off: eyes_light
Expand Down
1 change: 1 addition & 0 deletions Integrations/ESPHome/H-3D.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ esphome:
then:
- script.execute: testScript
on_shutdown:
- light.turn_off: all_lights
- light.turn_off: body_light
- light.turn_off: mouth_light
- light.turn_off: eyes_light
Expand Down
Loading