Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detected that custom integration 'xiaomi_home' is setting state directly #856

Open
IDragonfire opened this issue Mar 8, 2025 · 0 comments

Comments

@IDragonfire
Copy link

IDragonfire commented Mar 8, 2025

Describe the Bug / 描述问题

Deprecated API used

How to Reproduce / 复现步骤

  1. Go to the log:

Detected that custom integration 'xiaomi_home' is setting state directly. Entity xiaomi_home.roborock_de_259632795_s5 (<class 'custom_components.xiaomi_home.vacuum.Vacuum'>) should implement the 'activity' property and return its state using the VacuumActivity enum at custom_components/xiaomi_home/vacuum.py, line 82: async_add_entities(new_entities). This will stop working in Home Assistant 2026.1, please create a bug report at https://github.com/XiaoMi/ha_xiaomi_home/issues

Expected Behavior / 预期结果

no warning in the log

Reproduce Time / 问题复现的时间点

2025-03-05

Home Assistant Logs / 系统日志

No response

Log Timezone / 日志时区

GMT+1

Home Assistant Core Version / Home Assistant Core 版本

2025.3.1

Home Assistant Operation System Version / Home Assistant Operation System 版本

14.2

Xiaomi Home Integration Version / 米家集成版本

v0.2.0

Additional Context / 其他说明

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant