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

weather实体不会自动刷新 #56

Closed
musk1024 opened this issue Jun 14, 2024 · 4 comments
Closed

weather实体不会自动刷新 #56

musk1024 opened this issue Jun 14, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@musk1024
Copy link

weather实体不会自动刷新,需要对组件进行reload才可以手动刷新当前的日期,但是组件下其他的sensor刷新又是正常的,希望能解决一下
image

@fineemb
Copy link
Owner

fineemb commented Jun 14, 2024

目测可能是ha的状态机机制。数据应该是定时刷新的。但是如果weather的状态和之前的数据一样。ha是不会更新的。不知道我有没有理解正确

@musk1024
Copy link
Author

目测可能是ha的状态机机制。数据应该是定时刷新的。但是如果weather的状态和之前的数据一样。ha是不会更新的。不知道我有没有理解正确

按照道理应该是定时刷新的,但是温度信息和天气信息是不一样也不会刷新,你这边是否能够复现这个问题?

@fineemb
Copy link
Owner

fineemb commented Jun 15, 2024

目测可能是ha的状态机机制。数据应该是定时刷新的。但是如果weather的状态和之前的数据一样。ha是不会更新的。不知道我有没有理解正确

按照道理应该是定时刷新的,但是温度信息和天气信息是不一样也不会刷新,你这边是否能够复现这个问题?

我大致知道是什么情况了。但是我没能复现。如果方便,可以在集成页面打开“启用调试日志”。
日志会根据你设置的刷新时间间隔打印DEBUG (MainThread) [homeassistant.components.colorfulclouds.colorfulclouds] Requests remaining: 类似这样的条目。注意这里会包含key,不要泄露

@fineemb fineemb added the bug Something isn't working label Jun 16, 2024
@fineemb
Copy link
Owner

fineemb commented Jun 21, 2024

这个问题已经在v2.0.3版本修复

@fineemb fineemb closed this as completed Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants