KaufHA / PLF10

Files for the PLF10 Power Monitoring Smart Plug.
26 stars 16 forks source link

Add multi-click and long-press support to smart plugs #21

Open scottcopus opened 1 year ago

scottcopus commented 1 year ago

[Enhancement] Would it be possible to get multi-click and long-press support on the smart plugs... similar to the SRF10 RGB wall switch?

Double and triple press would be great, and 4- and 5-press would be awesome. Long press would be nice, and maybe even an additional "longer" press.

FYI, I use some of my plugs as makeshift switches for controlling various lights. I disconnect the relay on some, so having the option to do this via a slider exposed in HA would be nice too.

thanks!