You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2025-02-20 10:11:11.600 ERROR (MainThread) [custom_components.xiaomi_miot.core.device.suittc.airrtc.wk168] Unexpected error fetching xx:xx:xx:xx:xx:xx-01J6Q22VJGZ14ZWAxxxx8Q81SE-miot_status data
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 380, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 281, in _async_update_data
return await self.update_method()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/xiaomi_miot/core/device.py", line 530, in _update
result = await self.update_miot_status(mapping)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/xiaomi_miot/core/device.py", line 873, in update_miot_status
res = await self.local.async_get_properties_for_mapping(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<3 lines>...
)
^
File "/config/custom_components/xiaomi_miot/core/device.py", line 1386, in async_get_properties_for_mapping
return await self.hass.async_add_executor_job(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<6 lines>...
)
^
File "/usr/local/lib/python3.13/concurrent/futures/thread.py", line 59, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/xiaomi_miot/core/device.py", line 1379, in get_properties_for_mapping
return self.get_properties(
~~~~~~~~~~~~~~~~~~~^
properties,
^^^^^^^^^^^
property_getter='get_properties',
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
max_properties=max_properties,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/local/lib/python3.13/site-packages/miio/device.py", line 240, in get_properties
values.extend(self.send(property_getter, _props[:max_properties]))
~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/miio/device.py", line 107, in send
return self._protocol.send(
~~~~~~~~~~~~~~~~~~~^
command, parameters, retry_count, extra_parameters=extra_parameters
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/local/lib/python3.13/site-packages/miio/miioprotocol.py", line 202, in send
self.__id = payload["id"]
~~~~~~~^^^^^^
TypeError: byte indices must be integers or slices, not str
The text was updated successfully, but these errors were encountered:
Device model / 设备型号
suittc.airrtc.wk168
Component version / 插件版本
1.0.11
HA core version / HA版本
2025.2.4
Integrated mode / 集成方式
Automatic (自动模式)
The problem / 问题详情
实体不可以用
Entity attributes / 实体属性
unavailable
Home Assistant Logs / 系统日志
2025-02-20 10:11:11.600 ERROR (MainThread) [custom_components.xiaomi_miot.core.device.suittc.airrtc.wk168] Unexpected error fetching xx:xx:xx:xx:xx:xx-01J6Q22VJGZ14ZWAxxxx8Q81SE-miot_status data
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 380, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 281, in _async_update_data
return await self.update_method()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/xiaomi_miot/core/device.py", line 530, in _update
result = await self.update_miot_status(mapping)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/xiaomi_miot/core/device.py", line 873, in update_miot_status
res = await self.local.async_get_properties_for_mapping(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<3 lines>...
)
^
File "/config/custom_components/xiaomi_miot/core/device.py", line 1386, in async_get_properties_for_mapping
return await self.hass.async_add_executor_job(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<6 lines>...
)
^
File "/usr/local/lib/python3.13/concurrent/futures/thread.py", line 59, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/xiaomi_miot/core/device.py", line 1379, in get_properties_for_mapping
return self.get_properties(
~~~~~~~~~~~~~~~~~~~^
properties,
^^^^^^^^^^^
property_getter='get_properties',
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
max_properties=max_properties,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/local/lib/python3.13/site-packages/miio/device.py", line 240, in get_properties
values.extend(self.send(property_getter, _props[:max_properties]))
~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/miio/device.py", line 107, in send
return self._protocol.send(
~~~~~~~~~~~~~~~~~~~^
command, parameters, retry_count, extra_parameters=extra_parameters
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/local/lib/python3.13/site-packages/miio/miioprotocol.py", line 202, in send
self.__id = payload["id"]
~~~~~~~^^^^^^
TypeError: byte indices must be integers or slices, not str
The text was updated successfully, but these errors were encountered: