Skip to content

Fix deprecated constants#88

Closed
catsimple wants to merge 1 commit intolarry-wong:mainfrom
catsimple:main
Closed

Fix deprecated constants#88
catsimple wants to merge 1 commit intolarry-wong:mainfrom
catsimple:main

Conversation

@catsimple
Copy link

现在homeassistant实体的外部表示已经改成字符串形式了

home-assistant/core#153363

STATE_LOCKEDSTATE_IDLE 被移除,这里使用字符串代替判断

@Arnie97
Copy link

Arnie97 commented Oct 19, 2025

#61 重复,并且我觉得 #61 的实现更合理,没引入魔数

@catsimple
Copy link
Author

#61 重复,并且我觉得 #61 的实现更合理,没引入魔数

没注意看,有更好的实现就好

@catsimple catsimple closed this Oct 19, 2025
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

Successfully merging this pull request may close these issues.

2 participants