From d235bf6c3af5b0244b2da055ebbaac09d2449667 Mon Sep 17 00:00:00 2001 From: Julien Cabillot Date: Mon, 6 Mar 2017 14:53:26 +0100 Subject: [PATCH] hide_entity : true des automatismes --- ha_configuration.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/ha_configuration.yml b/ha_configuration.yml index 9bcbd43..8f2e684 100644 --- a/ha_configuration.yml +++ b/ha_configuration.yml @@ -17,13 +17,13 @@ input_slider: strip1_animation_speed: name: "Strip1 Animation Speed" initial: 120 - min: 10 - max: 150 - step: 10 + min: 10 + max: 150 + step: 10 light: platform: "mqtt" - name: "Test ESP" + name: "Test ESP" command_topic: "strip1/switch" state_topic: "strip1/status" rgb_state_topic: "strip1/color/switch" @@ -33,24 +33,24 @@ light: automation: - alias: "Strip1 Effect" - hide_entity: False + hide_entity: True trigger: - - platform: "state" + - platform: "state" entity_id: "input_select.strip1_effect" action: - service: "mqtt.publish" data_template: - topic: "strip1/effect/switch" + topic: "strip1/effect/switch" payload: '{{ trigger.to_state.state | string }}' - retain: True + retain: True - alias: "Strip1 Animation Speed" - hide_entity: False + hide_entity: True trigger: - - platform: "state" + - platform: "state" entity_id: "input_slider.strip1_animation_speed" action: - service: "mqtt.publish" data_template: - topic: "strip1/speed/switch" + topic: "strip1/speed/switch" payload: '{{ trigger.to_state.state | int }}' - retain: True + retain: True