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