fix: cover status (#1262)

This commit is contained in:
Li Shuzhen
2025-07-16 13:57:18 +08:00
committed by GitHub
parent 4ad040d2ea
commit 836bd01ead

View File

@ -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