homebridge-wol icon indicating copy to clipboard operation
homebridge-wol copied to clipboard

Make the exposed service configurable

Open AlexGustafsson opened this issue 4 years ago • 1 comments

Backstory

There's a need to allow users to specify what service is exposed by this plugin to allow for other icons in the Home app etc. (see #122). For historical reasons, it has always been a simple switch - but it could've been anything that represents an on or off state and allows for switching between the states (such as a lamp, a speaker or a TV).

Issue

Implement a way to make the exposed service (currently a switch) configurable to allow for more accessory types supporting an on / off state, such as a lamp, speaker or TV.

The various accessories are documented here https://developers.homebridge.io.

Examples:

AlexGustafsson avatar Oct 04 '20 19:10 AlexGustafsson

It would also be nice to be able to turn the accessory into a stateless button. See #183.

AlexGustafsson avatar Feb 27 '22 18:02 AlexGustafsson