From bd92f4b86f2d5df37f96d6ca51e008e156882658 Mon Sep 17 00:00:00 2001 From: aidbish <38182386+aidbish@users.noreply.github.com> Date: Thu, 27 Dec 2018 14:34:28 +1000 Subject: [PATCH] Updates HA example to to work after mqtt light changes in HA 0.84 --- clients/HomeAssistant/light.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/clients/HomeAssistant/light.yaml b/clients/HomeAssistant/light.yaml index 91c201f..0e2a23d 100644 --- a/clients/HomeAssistant/light.yaml +++ b/clients/HomeAssistant/light.yaml @@ -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 \ No newline at end of file + service: input_number.set_value