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
Detected that custom integration 'xiaomi_miot' is setting state directly. Entity xiaomi_miot.ijai_v3_fb95_robot_cleaner (<class 'custom_components.xiaomi_miot.vacuum.MiotVacuumEntity'>)
#2385
Open
jonyrh opened this issue
Feb 21, 2025
· 0 comments
Detected that custom integration 'xiaomi_miot' is setting state directly. Entity xiaomi_miot.ijai_v3_fb95_robot_cleaner (<class 'custom_components.xiaomi_miot.vacuum.MiotVacuumEntity'>) should implement the 'activity' property and return its state using the VacuumActivity enum at custom_components/xiaomi_miot/vacuum.py, line 68: async_add_entities(entities, update_before_add=True). This will stop working in Home Assistant 2026.1, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
AND
/usr/local/lib/python3.13/site-packages/miio/miot_device.py:23: FutureWarning: functools.partial will be a method descriptor in future Python versions; wrap it in enum.member() if you want to preserve the old behavior Bool = partial(_str2bool)
Device model / 设备型号
vacuum.ijai_v3_fb95_robot_cleaner
Component version / 插件版本
1.0.12
HA core version / HA版本
2025.2.4
Integrated mode / 集成方式
Token
The problem / 问题详情
Hello!
Warnings afret reboot:
Detected that custom integration 'xiaomi_miot' is setting state directly. Entity xiaomi_miot.ijai_v3_fb95_robot_cleaner (<class 'custom_components.xiaomi_miot.vacuum.MiotVacuumEntity'>) should implement the 'activity' property and return its state using the VacuumActivity enum at custom_components/xiaomi_miot/vacuum.py, line 68: async_add_entities(entities, update_before_add=True). This will stop working in Home Assistant 2026.1, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
AND
/usr/local/lib/python3.13/site-packages/miio/miot_device.py:23: FutureWarning: functools.partial will be a method descriptor in future Python versions; wrap it in enum.member() if you want to preserve the old behavior Bool = partial(_str2bool)
Entity attributes / 实体属性
Home Assistant Logs / 系统日志
No response
The text was updated successfully, but these errors were encountered: