diff --git a/.DS_Store b/.DS_Store deleted file mode 100644 index 66544f0..0000000 Binary files a/.DS_Store and /dev/null differ diff --git a/Integrations/ESPHome/H-2.yaml b/Integrations/ESPHome/H-2.yaml index 2c27781..a854fa5 100644 --- a/Integrations/ESPHome/H-2.yaml +++ b/Integrations/ESPHome/H-2.yaml @@ -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: