Updates HA example to to work after mqtt light changes in HA 0.84
This commit is contained in:
parent
828d8704b2
commit
bd92f4b86f
1 changed files with 3 additions and 2 deletions
|
@ -1,5 +1,6 @@
|
||||||
light:
|
light:
|
||||||
- platform: mqtt_json
|
- platform: mqtt
|
||||||
|
schema: json
|
||||||
name: "NeoPixel LEDs"
|
name: "NeoPixel LEDs"
|
||||||
state_topic: "home/McLighting01_ha/state/out"
|
state_topic: "home/McLighting01_ha/state/out"
|
||||||
command_topic: "home/McLighting01_ha/state/in"
|
command_topic: "home/McLighting01_ha/state/in"
|
||||||
|
@ -102,4 +103,4 @@ automation:
|
||||||
- data_template:
|
- data_template:
|
||||||
entity_id: input_number.neopixel_animation_speed
|
entity_id: input_number.neopixel_animation_speed
|
||||||
value: '{{ trigger.payload_json.speed | int }}'
|
value: '{{ trigger.payload_json.speed | int }}'
|
||||||
service: input_number.set_value
|
service: input_number.set_value
|
||||||
|
|
Loading…
Reference in a new issue