#Long press not working
1 messages · Page 1 of 1 (latest)
So looking at this it is going to take someone with the hardware to fix it. What you need to do is capture the exact value that is sent out when you do the double press and adjust the Blueprint to use that instead of what it actually uses.
- variables:
button: "{{ trigger.event.data['endpoint_id'] }}"
cmd: "{{ trigger.event.data['command'] }}"
params: "{{ trigger.event.data['params'] }}"
Likely you need to adjust the:
- conditions:
- "{{ button == 1 and cmd == 'move_with_on_off' }}"
sequence:
- if:
- condition: template
value_template: "{{ params['move_mode'] == 0 }}"
then:
!input "on_button_1_long"
else:
!input "off_button_1_long"