on adapte le code à alarmclock (simplification), changement des channels de status/command

This commit is contained in:
Julien Cabillot
2017-04-24 01:57:17 +02:00
committed by Cabillot Julien
parent 9b1311d437
commit dcafb54c8e
4 changed files with 20 additions and 479 deletions

View File

@@ -1,7 +1,7 @@
- platform: "mqtt"
name: "alarmclock"
retain: true
command_topic: "strip1/switch"
state_topic: "strip1/status"
rgb_command_topic: "strip1/color/switch"
rgb_state_topic: "strip1/color/status"
command_topic: "alarmclock/switch"
state_topic: "alarmclock/status"
rgb_command_topic: "alarmclock/color/switch"
rgb_state_topic: "alarmclock/color/status"

View File

@@ -1,5 +1,3 @@
# TODO : tout reste à faire, ceci est la copie de mqttfastledmenu à adapter
homeassistant:
customize: !include_dir_merge_named "conf_customize.d/"
@@ -10,7 +8,7 @@ mqtt:
username: "XXX"
password: "XXX"
light: !include_dir_merge_list "conf_light.d/"
automation: !include_dir_merge_list "conf_automation.d/"
group: !include_dir_merge_named "conf_group.d/"
light: !include_dir_merge_list "conf_light.d/"
automation: !include_dir_merge_list "conf_automation.d/"
group: !include_dir_merge_named "conf_group.d/"
script: !include_dir_merge_named "conf_script.d/"