I’ve written a script to set LEDs and LED effects on Inovelli dimmers, switches, and combo fan / light dimmers attached by the Z-Wave JS integration. It’s possible to set every Inovelli device in an area (i.e. ‘Upstairs’), or in a device (which is easy to template from an automation’s trigger.event.data.device_id
), or by entity. It’ll also accept any combination of area, device, and entity as well as any combination of Inovelli models. Different devices can be set simultaneously, so the script doesn’t need to be called multiple times by an automation—we’ll just set everything at once.
[2022-05-17] Fixed a typo that caused an error when setting “pulse” effects on switch devices.
[2022-06-06] Areas and devices no longer need to be lists (entities were already being converted if they were in list format). This should make the script much easier to call from automations and scripts using templates.
[2023-05-01] The script will use the areas() function introduced in 2023-04 to accept “area: all”. This will search each area Home Assistant knows about, and apply the settings to all compatible Inovelli devices.
Notification effect examples:
service: script.inovelli_led_zwavejs
data:
area: 'Family Room' # This can also be an area ID, if you're using a template.
duration: Forever
effect: CHASE
brightness: 8
color: Teal
service: script.inovelli_led_zwavejs
data:
area: all
duration: Forever
effect: Blink
brightness: 8
color: 'Light Pink'
service: script.inovelli_led_zwavejs
data:
entity: fan.front_porch, light.front_door #Mix and match device types!
effect: pulse
brightness: 8
color: red
Clearing the effects above
service: script.inovelli_led_zwavejs
data:
area: 'Family Room'
entity: fan.front_porch, light.front_door
LED color example:
service: script.inovelli_led_zwavejs
data:
entity: light.office
LEDcolor: blue
LEDbrightness: 7
LEDbrightness_off: 3
LEDbrightness_off example: (maybe part of a nighttime routine?)
service: script.inovelli_led_zwavejs
data:
entity: light.office
LEDbrightness_off: 2