From 86ae4b44b1b1bebc0a4656219f40f807e6dccebe Mon Sep 17 00:00:00 2001 From: Mike Geppert Date: Wed, 7 Jan 2026 21:54:39 -0600 Subject: [PATCH] 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 --- network_configuration.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/network_configuration.json b/network_configuration.json index 0feef28..a5860e3 100644 --- a/network_configuration.json +++ b/network_configuration.json @@ -113,8 +113,11 @@ "PowerOnState 3", "SetOption1 0", "SetOption3 1", + "SetOption32 8", + "SetOption40 0", "SetOption53 1", - "SetOption73 1" + "SetOption73 1", + "rule1 on button1#state=10 do power0 toggle endon" ] } } \ No newline at end of file