Update #3: Completely refactored code for 0.115
Update #2: I now have a OZW version of the inovelli_led script.
Not only can the Inovelli LZW31-SN Red Series Dimmer (and LZW30-SN Switch) trigger scenes with up to 5 taps (up and down), it has a really slick Status LED strip built in. It is possible to both change the color and animate it!
What surprised me was how complex the math was required for the task. Luckily the manufacturer provided a spreadsheet with the calculations. So I converted the spreadsheet math to a Home Assistant script template math. The result is a script with simple parameters named
inovelli_led. Here is an example.
- service: script.inovelli_led data: entity_id: zwave.dimmer_family_room color: purple duration: 10 seconds effect: chase level: 10
Essentially my script passes the correct information to the
zwave.set_config_parameter service, including a tricky math formula to set the color, effect, duration, and brightness. If you are interested I did a brief write up on my blog with commented automations and scripts.