mirror of
https://github.com/XiaoMi/ha_xiaomi_home.git
synced 2025-07-18 05:29:16 +08:00
feat: set the cover closed position (#1242)
* feat: add the cover closed position configure option * feat: estimate the cover entity's is_closed property by the cover closed position (#944) * fix: translations * feat: set max cover closed position as 5 * docs: modify README * fix: remove useless spaces
This commit is contained in:
@ -120,6 +120,10 @@ INTEGRATION_LANGUAGES = {
|
||||
'zh-Hant': '繁體中文'
|
||||
}
|
||||
|
||||
DEFAULT_COVER_CLOSED_POSITION: int = 0
|
||||
MIN_COVER_CLOSED_POSITION: int = 0
|
||||
MAX_COVER_CLOSED_POSITION: int = 5
|
||||
|
||||
DEFAULT_CTRL_MODE: str = 'auto'
|
||||
|
||||
# Registered in Xiaomi OAuth 2.0 Service
|
||||
|
Reference in New Issue
Block a user