yaml layout updates to v1.1 and minor fixes
This commit is contained in:
@@ -387,21 +387,21 @@ binary_sensor:
|
||||
- delayed_off: 20ms
|
||||
|
||||
on_multi_click:
|
||||
# Double click: easier to hit; also prevents single-click heater toggle from stealing the first click
|
||||
# Double click: quick and deliberate
|
||||
- timing:
|
||||
- ON for at most 500ms
|
||||
- OFF for at most 900ms
|
||||
- ON for at most 500ms
|
||||
- OFF for at least 250ms
|
||||
- ON for at most 350ms
|
||||
- OFF for at most 350ms
|
||||
- ON for at most 350ms
|
||||
- OFF for at least 120ms
|
||||
then:
|
||||
- mqtt.publish:
|
||||
topic: "${mqtt_remote_device1_command_topic}"
|
||||
payload: "${mqtt_remote_device1_command1}"
|
||||
|
||||
# Single click: delayed recognition so a (slower) double-click still works reliably
|
||||
# Single click: normal press, short settle time so it still feels responsive
|
||||
- timing:
|
||||
- ON for at most 600ms
|
||||
- OFF for at least 1200ms
|
||||
- ON for at most 500ms
|
||||
- OFF for at least 350ms
|
||||
then:
|
||||
- switch.toggle: Relay_2
|
||||
|
||||
|
||||
Reference in New Issue
Block a user