I’ve been working on integrating HomeSeer’s HS-WS200+ Z-Wave switches into my Home Assistant installation and finally came up with a pattern that works well for me, so I figured I’d share it with the community. The code can be found on GitHub in its own repository.
There are five scripts that help switch back and forth between status and normal mode, set the LED colors, and turn the blinking on and off. They’re pretty easy to call from either the API or Node Red. Hopefully these help somebody out.