From d406112ecfa2b67473559ab479b7323df7f28e09 Mon Sep 17 00:00:00 2001
From: debsahu <debashish.sahu@gmail.com>
Date: Wed, 4 Apr 2018 20:34:14 -0400
Subject: [PATCH] Added HA Speed Automation

---
 clients/HomeAssistant/light.yaml | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/clients/HomeAssistant/light.yaml b/clients/HomeAssistant/light.yaml
index 7d93e3a..0f912ad 100644
--- a/clients/HomeAssistant/light.yaml
+++ b/clients/HomeAssistant/light.yaml
@@ -79,7 +79,7 @@ input_number:
     
 automation:
   - id: 71938579813759813757
-    alias: NeoPixel Animation Speed
+    alias: NeoPixel Animation Speed Send
     initial_state: true
     hide_entity: false
     trigger:
@@ -91,3 +91,14 @@ automation:
         retain: true
         topic: home/McLighting01_ha/speed
       service: mqtt.publish
+
+  - id: 93786598732698756967
+    alias: NeoPixel Animation Speed Receive
+    trigger:
+    - platform: mqtt
+      topic: home/McLighting01_ha/state/out
+    action:
+    - 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