on utilise à présent le selecteur de HA pour les effets
This commit is contained in:
parent
d331ce2f63
commit
4370cbc7fb
@ -5,18 +5,6 @@ mqtt:
|
||||
username: "XXX"
|
||||
password: "XXX"
|
||||
|
||||
# TODO : idéee ! préfixé les functions d'un nombre qu'on sort lors du publish, cela permet de n'avoir que des id
|
||||
input_select:
|
||||
strip1_effect:
|
||||
name: "Choix de l'effet"
|
||||
options:
|
||||
- "cylon"
|
||||
- "full"
|
||||
- "colorp"
|
||||
- "colort"
|
||||
- "fire"
|
||||
- "error"
|
||||
|
||||
input_slider:
|
||||
strip1_animation_speed:
|
||||
name: "Strip1 Animation Speed"
|
||||
@ -26,14 +14,26 @@ input_slider:
|
||||
step: 10
|
||||
|
||||
light:
|
||||
platform: "mqtt"
|
||||
name: "Test ESP"
|
||||
command_topic: "strip1/switch"
|
||||
state_topic: "strip1/status"
|
||||
rgb_command_topic: "strip1/color/switch"
|
||||
rgb_state_topic: "strip1/color/status"
|
||||
brightness_command_topic: "strip1/brightness/switch"
|
||||
brightness_state_topic: "strip1/brightness/status"
|
||||
- platform: "mqtt"
|
||||
name: "strip1"
|
||||
retain: true
|
||||
effect: true
|
||||
effect_list:
|
||||
- "cylon"
|
||||
- "colorp"
|
||||
- "colort"
|
||||
- "fire"
|
||||
- "firep"
|
||||
- "full"
|
||||
- "error"
|
||||
command_topic: "strip1/switch"
|
||||
state_topic: "strip1/status"
|
||||
rgb_command_topic: "strip1/color/switch"
|
||||
rgb_state_topic: "strip1/color/status"
|
||||
brightness_command_topic: "strip1/brightness/switch"
|
||||
brightness_state_topic: "strip1/brightness/status"
|
||||
effect_command_topic: "strip1/effect/switch"
|
||||
effect_state_topic: "strip1/effect/status"
|
||||
|
||||
automation:
|
||||
- alias: "Strip1 Effect"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user