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

实体的可用不可用到底是基于什么来判断的呢? #1

Open
sunlu3655196 opened this issue Feb 3, 2021 · 1 comment
Open

Comments

@sunlu3655196
Copy link

这个问题我一直很困扰, 我尝试用mqtt platform 虚拟了一个实体 (swithch or
binary_sensor or light), 有的实体 states 会显示不可用, 这个可用性判断, home assistant 是基于什么而来呢? 翻代码也没找到这部分

@Erimus-Koo
Copy link
Owner

是指设备会掉线嘛?这个倒还真不知道,偶尔碰到sensor会没有返回值导致错误,但发生概率很低,所以也没处理。

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

2 participants