hide_entity : true des automatismes
This commit is contained in:
parent
ea42471308
commit
d235bf6c3a
@ -17,13 +17,13 @@ input_slider:
|
|||||||
strip1_animation_speed:
|
strip1_animation_speed:
|
||||||
name: "Strip1 Animation Speed"
|
name: "Strip1 Animation Speed"
|
||||||
initial: 120
|
initial: 120
|
||||||
min: 10
|
min: 10
|
||||||
max: 150
|
max: 150
|
||||||
step: 10
|
step: 10
|
||||||
|
|
||||||
light:
|
light:
|
||||||
platform: "mqtt"
|
platform: "mqtt"
|
||||||
name: "Test ESP"
|
name: "Test ESP"
|
||||||
command_topic: "strip1/switch"
|
command_topic: "strip1/switch"
|
||||||
state_topic: "strip1/status"
|
state_topic: "strip1/status"
|
||||||
rgb_state_topic: "strip1/color/switch"
|
rgb_state_topic: "strip1/color/switch"
|
||||||
@ -33,24 +33,24 @@ light:
|
|||||||
|
|
||||||
automation:
|
automation:
|
||||||
- alias: "Strip1 Effect"
|
- alias: "Strip1 Effect"
|
||||||
hide_entity: False
|
hide_entity: True
|
||||||
trigger:
|
trigger:
|
||||||
- platform: "state"
|
- platform: "state"
|
||||||
entity_id: "input_select.strip1_effect"
|
entity_id: "input_select.strip1_effect"
|
||||||
action:
|
action:
|
||||||
- service: "mqtt.publish"
|
- service: "mqtt.publish"
|
||||||
data_template:
|
data_template:
|
||||||
topic: "strip1/effect/switch"
|
topic: "strip1/effect/switch"
|
||||||
payload: '{{ trigger.to_state.state | string }}'
|
payload: '{{ trigger.to_state.state | string }}'
|
||||||
retain: True
|
retain: True
|
||||||
- alias: "Strip1 Animation Speed"
|
- alias: "Strip1 Animation Speed"
|
||||||
hide_entity: False
|
hide_entity: True
|
||||||
trigger:
|
trigger:
|
||||||
- platform: "state"
|
- platform: "state"
|
||||||
entity_id: "input_slider.strip1_animation_speed"
|
entity_id: "input_slider.strip1_animation_speed"
|
||||||
action:
|
action:
|
||||||
- service: "mqtt.publish"
|
- service: "mqtt.publish"
|
||||||
data_template:
|
data_template:
|
||||||
topic: "strip1/speed/switch"
|
topic: "strip1/speed/switch"
|
||||||
payload: '{{ trigger.to_state.state | int }}'
|
payload: '{{ trigger.to_state.state | int }}'
|
||||||
retain: True
|
retain: True
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user