otadis
This commit is contained in:
+34
-34
@@ -16,43 +16,43 @@ external_components:
|
|||||||
url: https://git.cloudtest.pro/radu/esp
|
url: https://git.cloudtest.pro/radu/esp
|
||||||
|
|
||||||
|
|
||||||
ota:
|
# ota:
|
||||||
on_begin:
|
# on_begin:
|
||||||
then:
|
# then:
|
||||||
- light.disco_on:
|
# - light.disco_on:
|
||||||
id: my_light
|
# id: my_light
|
||||||
red: 0%
|
# red: 0%
|
||||||
green: 0%
|
# green: 0%
|
||||||
blue: 100%
|
# blue: 100%
|
||||||
brightness: 2%
|
# brightness: 2%
|
||||||
transition_length: 0s
|
# transition_length: 0s
|
||||||
|
|
||||||
on_progress:
|
# on_progress:
|
||||||
then:
|
# then:
|
||||||
- front_panel.set_level: !lambda return (x / 100.0f);
|
# - front_panel.set_level: !lambda return (x / 100.0f);
|
||||||
- front_panel.update_leds:
|
# - front_panel.update_leds:
|
||||||
|
|
||||||
on_end:
|
# on_end:
|
||||||
then:
|
# then:
|
||||||
- light.disco_on:
|
# - light.disco_on:
|
||||||
id: my_light
|
# id: my_light
|
||||||
red: 0%
|
# red: 0%
|
||||||
green: 100%
|
# green: 100%
|
||||||
blue: 0%
|
# blue: 0%
|
||||||
brightness: 2%
|
# brightness: 2%
|
||||||
transition_length: 0s
|
# transition_length: 0s
|
||||||
|
|
||||||
on_error:
|
# on_error:
|
||||||
then:
|
# then:
|
||||||
- light.disco_on:
|
# - light.disco_on:
|
||||||
id: my_light
|
# id: my_light
|
||||||
red: 100%
|
# red: 100%
|
||||||
green: 0%
|
# green: 0%
|
||||||
blue: 0%
|
# blue: 0%
|
||||||
brightness: 2%
|
# brightness: 2%
|
||||||
- delay: 1s
|
# - delay: 1s
|
||||||
- light.disco_off:
|
# - light.disco_off:
|
||||||
id: my_light
|
# id: my_light
|
||||||
|
|
||||||
# ----------------------------------------------------------------------
|
# ----------------------------------------------------------------------
|
||||||
# Hardware setup
|
# Hardware setup
|
||||||
|
|||||||
Reference in New Issue
Block a user