zachowj / hass-node-red

Companion Component for node-red-contrib-home-assistant-websocket to help integrate Node-RED with Home Assistant Core
MIT License
465 stars 182 forks source link

[Feature Request] Stateless Switch #40

Closed nirkons closed 3 years ago

nirkons commented 3 years ago

Hi,

Currently using the custom component we can create a switch in Hass but I was wondering if there was an option to create it stateless (separate ON/OFF buttons)

Describe alternatives you've considered Maybe something with template switches in hass but I'm still unsure if its possible this way.

Edit: As a workaround, its possible to customize the entity using assumed_state configuration, so I found the solution.

thanks!

github-actions[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.