correctiom effet -> char,--etat pour les topic marche pas

This commit is contained in:
Julien Cabillot 2017-03-04 03:32:37 +01:00 committed by Cabillot Julien
parent 82104f19a6
commit 0a12eede53

View File

@ -2,9 +2,9 @@ input_select:
strip1_effect:
name: "Choix de l'effet"
options:
- 2
- 3
- 4
- "cylon"
- "full"
- "error"
input_slider:
strip1_animation_speed:
@ -33,8 +33,7 @@ automation:
action:
- service: "mqtt.publish"
data_template:
command_topic: "strip1/effect/switch"
state_topic: "strip1/effect/status"
topic: "strip1/effect/switch"
payload: '{{ trigger.to_state.state | string }}'
retain: True
- alias: "Strip1 Animation Speed"
@ -45,7 +44,6 @@ automation:
action:
- service: "mqtt.publish"
data_template:
command_topic: "strip1/speed/switch"
status_topic: "strip1/speed/switch"
topic: "strip1/speed/switch"
payload: '{{ trigger.to_state.state | int }}'
retain: True