Echoing what jrhubott said, this is still the missing piece for me (using these with Hue bulbs). I’d really love to be able to use press and hold dimming.
Anyone figure out the Hue dimming with this blueprint?
Anyone know why I would be getting this error:
Error: UndefinedError: ‘dict object’ has no attribute ‘event’
Step ConfigChanged VariablesRelated logbook entries
I can’t get any automations to work using the blueprint. When I click the defined button - in this case the C button, it fires the event, but it does not do the next steps and ends up with that error.
I got this error when i test the blueprint by using the run action button.
When i test by using the Switch it works fine. How are you testing this Blueprint?
Also did you make this change?
OK -
So 2 lessons learned -
- I was getting this error from running it from the ‘run actions’ instead of hitting the button, which is why it was giving me the undefined button error
2). Logbook MUST be in your config and active. Without it, keypress cannot be counted, which causes this to break.
Seeing the following error in the logs of the 2021.8.3 release:
Logger: homeassistant.helpers.template
Source: helpers/template.py:1406
First occurred: 8:27:32 PM (2 occurrences)
Last logged: 8:32:19 PM
Template variable warning: 'zwave_device' is undefined when rendering '{{ zwave_device }}'
Thoughts?
I see that I can trigger an individual device, but can I trigger a group? I have 6 Hue lights coupled as a group and would like to control all 6 bulbs as one.
Thanks for this blueprint. I have it working to control 3 WIZ (wifi) lights for on/off/scene operation but not sure how to get paddle hold dimming to work…any ideas anyone?
We discussed several options for dimming control of other devices using the inovelli dimmer on this thread recently
Is there a way to have the automation created by this target several switches at the same time - so for example the switches in my kitchen all behave the same according to the automation I create?
Home Assistant 2021.10.6
Inovelli Red Series LZW31-SN Dim
A,B,C buttons work with one click and hold down…
I can’t get the double clicks to work…
Nevermind this works. I had “Button Delay and Scene Control” Turned off… Thanks for this! Absolutely amazing work.
My button presses seem to work but when I go to the logbook, home assistant doesn’t seem to know what device is pressing the buttons. At least that’s what I think is happening based on the picture I’ve attached and the action I’ve attached to automation never being called. I’m fairly new to home assistant and I’m on version core-2021.11.1 and supervisor-2021.10.8
Here’s what I see when I’m listening to zwave_js_value_notification in developer tools
{
"event_type": "zwave_js_value_notification",
"data": {
"domain": "zwave_js",
"node_id": 6,
"home_id": 4234304905,
"endpoint": 0,
"device_id": "57fcb584c28f8386200f9eb6e54e9cce",
"command_class": 91,
"command_class_name": "Central Scene",
"label": "Scene 002",
"property": "scene",
"property_name": "scene",
"property_key": "002",
"property_key_name": "002",
"value": 3,
"value_raw": 3
},
"origin": "LOCAL",
"time_fired": "2021-11-25T23:39:36.145531+00:00",
"context": {
"id": "f580cb7b9f3755480e5aaa8c33be946f",
"parent_id": null,
"user_id": null
}
}
The switch is working and sending central scene commands then. To do an automation, you need to convert the json you have from the event listener to yaml
You can use this
This automation should work, just add your action
alias: inovelli scene
description: ''
mode: single
trigger:
- platform: event
event_type: zwave_js_value_notification
event_data:
domain: zwave_js
node_id: 6
home_id: 4234304905
endpoint: 0
device_id: 57fcb584c28f8386200f9eb6e54e9cce
command_class: 91
command_class_name: Central Scene
label: Scene 002
property: scene
property_name: scene
property_key: '002'
property_key_name: '002'
value: 3
value_raw: 3
condition: []
action:
- device_id: ''
domain: ''
entity_id: ''
For some reason after I update HA yesterday, my old automations are not working and I am not able to save any new one. Anybody else met this problem?
The error in Log Details shows this,
Logger: homeassistant.setup
Source: components/device_automation/init.py:112
First occurred: 7:29:38 PM (1 occurrences)
Last logged: 7:29:38 PM
Error during setup of component automation
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/components/device_automation/init.py”, line 109, in async_get_device_automation_platform
integration = await async_get_integration_with_requirements(hass, domain)
File “/usr/src/homeassistant/homeassistant/requirements.py”, line 58, in async_get_integration_with_requirements
integration = await async_get_integration(hass, domain)
File “/usr/src/homeassistant/homeassistant/loader.py”, line 566, in async_get_integration
integration = await _async_get_integration(hass, domain)
File “/usr/src/homeassistant/homeassistant/loader.py”, line 594, in _async_get_integration
raise IntegrationNotFound(domain)
homeassistant.loader.IntegrationNotFound: Integration ‘’ not found.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/setup.py”, line 229, in _async_setup_component
result = await task
File “/usr/src/homeassistant/homeassistant/components/automation/init.py”, line 230, in async_setup
if not await _async_process_config(hass, config, component):
File “/usr/src/homeassistant/homeassistant/components/automation/init.py”, line 635, in _async_process_config
await async_validate_config_item(hass, raw_config),
File “/usr/src/homeassistant/homeassistant/components/automation/config.py”, line 86, in async_validate_config_item
config[CONF_ACTION] = await script.async_validate_actions_config(
File “/usr/src/homeassistant/homeassistant/helpers/script.py”, line 241, in async_validate_actions_config
return await asyncio.gather(
File “/usr/src/homeassistant/homeassistant/helpers/script.py”, line 298, in async_validate_action_config
choose_conf[CONF_SEQUENCE] = await async_validate_actions_config(
File “/usr/src/homeassistant/homeassistant/helpers/script.py”, line 241, in async_validate_actions_config
return await asyncio.gather(
File “/usr/src/homeassistant/homeassistant/helpers/script.py”, line 256, in async_validate_action_config
platform = await device_automation.async_get_device_automation_platform(
File “/usr/src/homeassistant/homeassistant/components/device_automation/init.py”, line 112, in async_get_device_automation_platform
raise InvalidDeviceAutomationConfig(
homeassistant.components.device_automation.exceptions.InvalidDeviceAutomationConfig: Integration ‘’ not found
This doesnt seem to be an issue related to device blueprints. You may want to try posting in the general discussion forum.
From what I see, the automation component is borked in your install. I’d restore back to the previous version if you havent fixed this already.
I replaced the logbook service section in the blueprint with this:
- service: logbook.log
data:
name: '{{ this.attributes.friendly_name }}'
message: >
{% if button_id == "001" %}
Off
{% elif button_id == "002" %}
On
{% elif button_id == "003" %}
Config
{% endif %}
{{ press_count }}
In the logbook I get a message like “Inovelli Switch Scenes On KeyPressed2x”
I have a 3 way setup using an aux switch with lzw31, I can program the aux switch up and down by adding; adding here for reference
## AUX Pressed
button_aux_up:
name: Aux Switch Up
description: "Action to run, when the aux switch's button is pressed up."
default: []
selector:
action: {}
button_aux_down:
name: Aux Switch Down
description: "Action to run, when the aux switch's button is pressed down."
default: []
selector:
action: {}
and
- conditions: '{{ button_id == "004" and press_count == 0 }}'
sequence: !input button_aux_up
- conditions: '{{ button_id == "005" and press_count == 0 }}'
sequence: !input button_aux_down