Added HA Speed Automation
This commit is contained in:
parent
2a193ff445
commit
d406112ecf
1 changed files with 12 additions and 1 deletions
|
@ -79,7 +79,7 @@ input_number:
|
||||||
|
|
||||||
automation:
|
automation:
|
||||||
- id: 71938579813759813757
|
- id: 71938579813759813757
|
||||||
alias: NeoPixel Animation Speed
|
alias: NeoPixel Animation Speed Send
|
||||||
initial_state: true
|
initial_state: true
|
||||||
hide_entity: false
|
hide_entity: false
|
||||||
trigger:
|
trigger:
|
||||||
|
@ -91,3 +91,14 @@ automation:
|
||||||
retain: true
|
retain: true
|
||||||
topic: home/McLighting01_ha/speed
|
topic: home/McLighting01_ha/speed
|
||||||
service: mqtt.publish
|
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
|
Loading…
Add table
Reference in a new issue