Skip to content

Hard buttons can only be attached to lights #350

@surfmk

Description

@surfmk

Problem:
Hard buttons in detach mode can only be attached to lights.

Ideally:
Hard buttons should be able to trigger switches or buttons (not just lights).

Workaround:
If you want a workaround, create a dummy light in HA using code below. This 'light' exposes itself in NSPM interface, and can be assigned to the hardware button, so the dummy light is switched on and off. In HA 'automations', you can create an automation that listens to this dummy light to trigger any other action... in this case, you can set a scene of your choosing. All done without much HA knowledge so give it a whirl! (it works).

Image

Metadata

Metadata

Assignees

Labels

Ready for next releaseThis issue has been fixed/implemented and is ready to go out in next release.enhancementNew feature or request

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions