mirror of
https://github.com/XiaoMi/ha_xiaomi_home.git
synced 2025-07-17 21:19:10 +08:00
fix: cover status (#1262)
This commit is contained in:
@ -170,12 +170,13 @@ class Cover(MIoTServiceEntity, CoverEntity):
|
|||||||
self._prop_status_opening.append(item.value)
|
self._prop_status_opening.append(item.value)
|
||||||
elif item_name in {
|
elif item_name in {
|
||||||
'closing', 'close', 'down', 'dowm', 'falling',
|
'closing', 'close', 'down', 'dowm', 'falling',
|
||||||
'dropping', 'downing', 'lower'
|
'fallin', 'dropping', 'downing', 'lower'
|
||||||
}:
|
}:
|
||||||
self._prop_status_closing.append(item.value)
|
self._prop_status_closing.append(item.value)
|
||||||
elif item_name in {
|
elif item_name in {
|
||||||
'stopatlowest', 'stoplowerlimit', 'lowerlimitstop',
|
'closed', 'closeover', 'stopatlowest',
|
||||||
'floor', 'lowerlimit'
|
'stoplowerlimit', 'lowerlimitstop', 'floor',
|
||||||
|
'lowerlimit'
|
||||||
}:
|
}:
|
||||||
self._prop_status_closed.append(item.value)
|
self._prop_status_closed.append(item.value)
|
||||||
self._prop_status = prop
|
self._prop_status = prop
|
||||||
|
Reference in New Issue
Block a user