From 0a12eede53dcf20ea338146a6347717108ecb167 Mon Sep 17 00:00:00 2001 From: Julien Cabillot Date: Sat, 4 Mar 2017 03:32:37 +0100 Subject: [PATCH] correctiom effet -> char,--etat pour les topic marche pas --- ha_configuration.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/ha_configuration.yml b/ha_configuration.yml index 65e50de..5f2e487 100644 --- a/ha_configuration.yml +++ b/ha_configuration.yml @@ -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