-
Notifications
You must be signed in to change notification settings - Fork 73
Description
Эта ошибка возникла в пользовательской интеграции.
Регистратор: homeassistant
Источник: custom_components/aqara_gateway/light.py:135
интеграция: Aqara Gateway (документация, проблемы)
Зафиксировано первый раз: 16 июля 2025 г. в 23:54:05 (1 случай)
Зафиксировано последний раз: 16 июля 2025 г. в 23:54:05
Error doing job: Exception in callback Gateway._on_message() (None)
Traceback (most recent call last):
File "/usr/local/lib/python3.13/asyncio/events.py", line 89, in _run
self._context.run(self._callback, *self._args)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/aqara_gateway/core/gateway.py", line 537, in _on_message
self._process_message(payload)
~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
File "/config/custom_components/aqara_gateway/core/gateway.py", line 668, in _process_message
handler(payload)
~~~~~~~^^^^^^^^^
File "/config/custom_components/aqara_gateway/light.py", line 135, in update
x_val = float(data[ATTR_RGB_COLOR] / (2**16))
~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
TypeError: unsupported operand type(s) for /: 'tuple' and 'int'