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
Binary file removed .DS_Store
Binary file not shown.
75 changes: 75 additions & 0 deletions Integrations/ESPHome/H-2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,81 @@ script:
else:
- deep_sleep.enter:
id: deep_sleep_1
- id: !extend play_song_1
then:
- light.turn_on:
brightness: 80%
id: rgb_light
effect: "RainbowWave"
- light.turn_on:
brightness: 60%
id: logo_light
effect: "RainbowWave"
- wifi.disable:
- rtttl.play:
rtttl: !lambda 'return id(song_1).state;'
- wifi.enable:
- delay: 30s
- light.turn_off: rgb_light
- light.turn_off: logo_light
- script.execute: ShouldSleep

- id: !extend play_song_2
then:
- light.turn_on:
brightness: 80%
id: rgb_light
effect: "TwinklingWhite"
- light.turn_on:
brightness: 80%
id: logo_light
effect: "TwinklingRed"
- wifi.disable:
- rtttl.play:
rtttl: !lambda 'return id(song_2).state;'
- wifi.enable:
- delay: 30s
- light.turn_off: rgb_light
- light.turn_off: logo_light
- script.execute: ShouldSleep

- id: !extend play_song_3
then:
- light.turn_on:
brightness: 80%
id: rgb_light
effect: "RedGreen"
- light.turn_on:
brightness: 60%
id: logo_light
effect: "RedGreen"
- wifi.disable:
- rtttl.play:
rtttl: !lambda 'return id(song_3).state;'
- wifi.enable:
- delay: 30s
- light.turn_off: rgb_light
- light.turn_off: logo_light
- script.execute: ShouldSleep

- id: !extend play_song_4
then:
- light.turn_on:
brightness: 80%
id: rgb_light
effect: "TwinklingBlues"
- light.turn_on:
brightness: 80%
id: logo_light
effect: "TwinklingBlues"
- wifi.disable:
- rtttl.play:
rtttl: !lambda 'return id(song_4).state;'
- wifi.enable:
- delay: 30s
- light.turn_off: rgb_light
- light.turn_off: logo_light
- script.execute: ShouldSleep


packages:
Expand Down
Loading