mirror of
https://github.com/HASwitchPlate/HASPone.git
synced 2025-08-04 17:07:46 +00:00
Fix error introduced in button release event
This commit is contained in:
parent
ce9022b82d
commit
a53bcd3502
@ -105,7 +105,7 @@ trigger_variables:
|
|||||||
hasppage: !input hasppage
|
hasppage: !input hasppage
|
||||||
haspbutton: !input haspbutton
|
haspbutton: !input haspbutton
|
||||||
haspobject: '{{ "p[" ~ hasppage ~ "].b[" ~ haspbutton ~ "]" }}'
|
haspobject: '{{ "p[" ~ hasppage ~ "].b[" ~ haspbutton ~ "]" }}'
|
||||||
buttonjsonpayload: '{"event_type":"button_short_press","event":"{{haspobject}}","value":"OFF"}'
|
buttonjsonpayload: '{"event_type":"button_short_release","event":"{{haspobject}}","value":"OFF"}'
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
- platform: mqtt
|
- platform: mqtt
|
||||||
|
Loading…
x
Reference in New Issue
Block a user