Closed MaDtz closed 2 years ago
Are you sure that there are no logs in HA (click on Full log)?
Sorry Sukram, I forgot the log. I edited my issue and added the log-entry.
Better. Next, add diagnostic Information: "Diagnoseinformationen herunterladen" on the device.
Do you use Switch as X
for HmIP-BSM?
Diagnostic file is added an yes I use Switch as X.
The issue is related to new Switch as X
feature.
This will be fixed in 1.2.0.
Thanks for reporting an issue.
1.2.0 is released
1.2.0 solved the problem. Everything is fine now. So you can close this issue. Thanks for your help and the good work!!!
DONT'T DELETE THIS. Please answer all questions as good as possible.
Make sure you have read the documentation at https://github.com/danielperna84/custom_homematic#custom_homematic.
Make sure you are running the latest version of hahomematic or it's custom_component (and Home Assistant) before reporting an issue.
custom_component/hahomematic version (if applicable): 1.1.4
Home Assistant version (if applicable): 2022.4.7
CCU version:
Describe the bug You can´t use a HmIP-BSM device as a trigger in automations.
To Reproduce Steps to reproduce the behavior:
Screenshots (if applicable) Selected a HmIP-BSM device:
Selected a HmIP-BDT, HMIP-WRC2 or HmIP-BRC2 device:
Expected behavior I would expect the same behavior like the other divces with buttons, that I can use/select for example "Taster "1" wurde nach langem Tastendruck los gelassen" as a trigger.
Log-Entry
2022-04-26 12:17:37 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140480635912880] Error handling message: Unknown error (unknown_error) Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 27, in _handle_async_response await func(hass, connection, msg) File "/usr/src/homeassistant/homeassistant/components/device_automation/__init__.py", line 292, in with_error_handling await func(hass, connection, msg) File "/usr/src/homeassistant/homeassistant/components/device_automation/__init__.py", line 351, in websocket_device_automation_list_triggers await async_get_device_automations( File "/usr/src/homeassistant/homeassistant/components/device_automation/__init__.py", line 224, in async_get_device_automations for domain_results in await asyncio.gather( File "/usr/src/homeassistant/homeassistant/components/device_automation/__init__.py", line 182, in _async_get_device_automations_from_domain return await asyncio.gather( File "/config/custom_components/homematicip_local/device_trigger.py", line 64, in async_get_triggers control_unit: ControlUnit = hass.data[DOMAIN][entry_id] KeyError: '361ac085b0b9187a8a29ff090a17389c'
Diagnostic Information config_entry-homematicip_local-fda5bb615969b461658aaf796fc25e43.json.txt