This commit is contained in:
radu
2026-08-09 10:03:53 +07:00
parent 51d6cd7903
commit 9aa879e693
+34 -34
View File
@@ -16,43 +16,43 @@ external_components:
url: https://git.cloudtest.pro/radu/esp
ota:
on_begin:
then:
- light.disco_on:
id: my_light
red: 0%
green: 0%
blue: 100%
brightness: 2%
transition_length: 0s
# ota:
# on_begin:
# then:
# - light.disco_on:
# id: my_light
# red: 0%
# green: 0%
# blue: 100%
# brightness: 2%
# transition_length: 0s
on_progress:
then:
- front_panel.set_level: !lambda return (x / 100.0f);
- front_panel.update_leds:
# on_progress:
# then:
# - front_panel.set_level: !lambda return (x / 100.0f);
# - front_panel.update_leds:
on_end:
then:
- light.disco_on:
id: my_light
red: 0%
green: 100%
blue: 0%
brightness: 2%
transition_length: 0s
# on_end:
# then:
# - light.disco_on:
# id: my_light
# red: 0%
# green: 100%
# blue: 0%
# brightness: 2%
# transition_length: 0s
on_error:
then:
- light.disco_on:
id: my_light
red: 100%
green: 0%
blue: 0%
brightness: 2%
- delay: 1s
- light.disco_off:
id: my_light
# on_error:
# then:
# - light.disco_on:
# id: my_light
# red: 100%
# green: 0%
# blue: 0%
# brightness: 2%
# - delay: 1s
# - light.disco_off:
# id: my_light
# ----------------------------------------------------------------------
# Hardware setup