My script is working again (and so is my UNRAID server after my old SSD failed and took Home Assistant offline for several days). I’m guessing a Z-Wave JS update fixed something in the meantime. Here are the changes:
March 26, 2021
Added fields to help users experimenting in the Services Developer Tool.
April 3, 2021
Incorporated @firstof9 ’s changes:
Set execution mode to “parallel” to all this script to potentially run on more than one devices simultaneously.
Implement ZWave JS’s new zwave_js.bulk_set_partial_config_parameters command.
---
# Calculation References:
# https://nathanfiscus.github.io/inovelli-notification-calc/
# https://community.inovelli.com/t/home-assistant-2nd-gen-switch-rgb-working/168/62
# https://docs.google.com/spreadsheets/d/1bEpujdvBPZY9Fl61PZLUWuHanD2VAkRORFZ5D9xjLzA/edit?usp=sharing
#
# Changes:
# July 22, 2020: Incorporating changes from Kevin Schlichter.
# https://github.com/kschlichter/Home-Assistant-Inovelli-Red-Dimmer-Switch
#
# September 17, 2020: There are some massive improvements to my version of this code. Here are the highlights:
# 1. Choose - using the recently added choose: feature a separate call has been created for the Z-wave and OZW
# versions of the service call.
# 2. Variables - using 0.115’s new variables: feature the variables sent each service call only have to be
# calculated once.
# 3. Supported Features - I realized that I could probably tell the difference between modules using the
# “supported_features” attribute of each switch. For example my dimmer’s supported features is “33”.
#
# September 18, 2020: Added "model" parameter with options of dimmer, switch, combo_light, combo_fan. This replaces
# supported_features as the combo fan/light switch also had the same supported_features value.
This file has been truncated. show original
2 Likes