nicoduj / homebridge-harmony

Harmony websocket plugin for homebridge
The Unlicense
211 stars 22 forks source link

[FEATURE] Generic "do nothing" command for non stateless switches #426

Open LordZork opened 1 year ago

LordZork commented 1 year ago

Feature request...

A DoNothing command that can be passed on either side of the / (for non stateless switches) when publishing devices.

Config (example)...

Logitech Amp|Optical;InputOptical/DoNothing Logitech Amp|Coax;InputCoax/DoNothing Logitech Amp|Direct;InputDirect/DoNothing

Results...

This allows for a non stateless switch that does not require a command for both On and Off. Specifically, in this scenario, a non stateless switch can be turned Off without passing the same (or any) command.

Automation benefits (example)...

Home App:

Additional context...

Currently, a non stateless switch requires (and passes) a command on both sides of the /.

The problem with this—when attempting the scenario (automation) above—is that undesired input commands are sent (when switches are turned Off) along with the desired input command (when a switch is turned On).

Specifically, one of the other two inputs is activated, instead of the desired input.

Having a generic "do nothing" command would solve this issue.

nicoduj commented 6 months ago

Hi, thanks, adding this to the backlog.