Updates HA example to to work after mqtt light changes in HA 0.84

This commit is contained in:
aidbish 2018-12-27 14:34:28 +10:00 committed by GitHub
parent 828d8704b2
commit bd92f4b86f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,6 @@
light:
- platform: mqtt_json
- platform: mqtt
schema: json
name: "NeoPixel LEDs"
state_topic: "home/McLighting01_ha/state/out"
command_topic: "home/McLighting01_ha/state/in"
@ -102,4 +103,4 @@ automation:
- data_template:
entity_id: input_number.neopixel_animation_speed
value: '{{ trigger.payload_json.speed | int }}'
service: input_number.set_value
service: input_number.set_value