Alright, so I have a notification set to turn the LEDs on my switch to “chase” when my garage door is open. It works great, most of the time. Then I get errors…If I reboot my Home Assistant rpi4, everything is fine for a few days and then it happens again…any ideas on what is causing the issue?
here is my log:
Logger: homeassistant.components.automation.big_garage_door_opened_turn_on_chase_notification
Source: components/automation/init.py:666
Integration: Automation (documentation, issues)
First occurred: February 8, 2024 at 10:33:48 AM (22 occurrences)
Last logged: 9:21:13 PM
While executing automation automation.big_garage_door_opened_turn_on_chase_notification
Traceback (most recent call last):
File “/usr/local/lib/python3.12/site-packages/zigpy/types/struct.py”, line 48, in _convert_type
return field_type(value)
^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.12/site-packages/zigpy/types/basic.py”, line 91, in new
n = super().new(cls, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: invalid literal for int() with base 10: ‘Chase’
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/components/automation/init.py”, line 666, in async_trigger
return await self.action_script.async_run(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/src/homeassistant/homeassistant/helpers/script.py”, line 1600, in async_run
return await asyncio.shield(run.async_run())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/src/homeassistant/homeassistant/helpers/script.py”, line 435, in async_run
await self._async_step(log_exceptions=False)
File “/usr/src/homeassistant/homeassistant/helpers/script.py”, line 487, in _async_step
self._handle_exception(
File “/usr/src/homeassistant/homeassistant/helpers/script.py”, line 512, in _handle_exception
raise exception
File “/usr/src/homeassistant/homeassistant/helpers/script.py”, line 485, in _async_step
await getattr(self, handler)()
File “/usr/src/homeassistant/homeassistant/helpers/script.py”, line 739, in _async_device_step
await device_action.async_call_action_from_config(
File “/usr/src/homeassistant/homeassistant/components/device_automation/action.py”, line 71, in async_call_action_from_config
await platform.async_call_action_from_config(hass, config, variables, context)
File “/usr/src/homeassistant/homeassistant/components/zha/device_action.py”, line 128, in async_call_action_from_config
await ZHA_ACTION_TYPES[DEVICE_ACTION_TYPES[config[CONF_TYPE]]](
File “/usr/src/homeassistant/homeassistant/components/zha/device_action.py”, line 226, in _execute_cluster_handler_command_based_action
await getattr(action_cluster_handler, action_type)(**config)
File “/usr/src/homeassistant/homeassistant/components/zha/core/cluster_handlers/manufacturerspecific.py”, line 350, in issue_all_led_effect
await self.led_effect(effect_type, color, level, duration, expect_reply=False)
File “/usr/src/homeassistant/homeassistant/components/zha/core/cluster_handlers/init.py”, line 84, in wrapper
return await RETRYABLE_REQUEST_DECORATOR(func)(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.12/site-packages/zigpy/util.py”, line 131, in retry
return await func()
^^^^^^^^^^^^
File “/usr/local/lib/python3.12/site-packages/zigpy/quirks/init.py”, line 199, in command
return await self.request(
^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.12/site-packages/zigpy/zcl/init.py”, line 357, in request
hdr, request = self._create_request(
^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.12/site-packages/zigpy/zcl/init.py”, line 319, in _create_request
request = schema(*args, **kwargs) # type:ignore[operator]
^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.12/site-packages/zigpy/types/struct.py”, line 117, in new
setattr(instance, name, field._convert_type(value, struct=instance))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.12/site-packages/zigpy/types/struct.py”, line 50, in _convert_type
raise ValueError(
ValueError: Failed to convert led_effect=‘Chase’ from type <class ‘str’> to <class ‘zigpy.types.basic.uint8_t’>