fix: mrbond.airer.m1t closing status (#1134)

This commit is contained in:
Li Shuzhen
2025-06-12 10:41:12 +08:00
committed by GitHub
parent d0508ead25
commit 9fdbf3dff2
2 changed files with 4 additions and 1 deletions

View File

@ -161,7 +161,7 @@ class Cover(MIoTServiceEntity, CoverEntity):
for item in prop.value_list.items:
if item.name in {'opening', 'open', 'up'}:
self._prop_status_opening.append(item.value)
elif item.name in {'closing', 'close', 'down'}:
elif item.name in {'closing', 'close', 'down', 'dowm'}:
self._prop_status_closing.append(item.value)
elif item.name in {'stop', 'stopped', 'pause'}:
self._prop_status_stop.append(item.value)

View File

@ -31,6 +31,9 @@ urn:miot-spec-v2:device:airer:0000A00D:hyd-znlyj5:1:
- 1
- 1
urn:miot-spec-v2:device:airer:0000A00D:hyd-znlyj5:2: urn:miot-spec-v2:device:airer:0000A00D:hyd-znlyj5:1
urn:miot-spec-v2:device:airer:0000A00D:mrbond-m1t:1:
prop.2.3:
name: current-position-a
urn:miot-spec-v2:device:airer:0000A00D:mrbond-m33a:1:
prop.2.3:
name: current-position-a