Add button support to Plug profile

- Plugs do have physical buttons that should work
- Added SetOption32=8 and SetOption40=0 for long press support
- Added rule1 for single press toggle
- Plugs can now: single press to toggle, long press sends HOLD to MQTT
- Other switches can use multi-press to control plugs remotely
- Omitted multi-press tuning options (SetOption4/13/19) - not needed for plugs
This commit is contained in:
Mike Geppert 2026-01-07 21:54:39 -06:00
parent 8b830d138b
commit 86ae4b44b1

View File

@ -113,8 +113,11 @@
"PowerOnState 3", "PowerOnState 3",
"SetOption1 0", "SetOption1 0",
"SetOption3 1", "SetOption3 1",
"SetOption32 8",
"SetOption40 0",
"SetOption53 1", "SetOption53 1",
"SetOption73 1" "SetOption73 1",
"rule1 on button1#state=10 do power0 toggle endon"
] ]
} }
} }