mirror of
https://github.com/XiaoMi/ha_xiaomi_home.git
synced 2026-01-16 23:00:43 +08:00
fix: xiaomi.airer.pro3 airer status rising (#1222)
This commit is contained in:
parent
5b1d003bb2
commit
d4d51da6ad
@ -159,7 +159,7 @@ class Cover(MIoTServiceEntity, CoverEntity):
|
||||
self.entity_id)
|
||||
continue
|
||||
for item in prop.value_list.items:
|
||||
if item.name in {'opening', 'open', 'up'}:
|
||||
if item.name in {'opening', 'open', 'up', 'rising'}:
|
||||
self._prop_status_opening.append(item.value)
|
||||
elif item.name in {'closing', 'close', 'down', 'dowm'}:
|
||||
self._prop_status_closing.append(item.value)
|
||||
|
||||
@ -1178,7 +1178,7 @@ class MipsLocalClient(_MipsClient):
|
||||
or 'piid' not in msg
|
||||
or 'value' not in msg
|
||||
):
|
||||
# self.log_error(f'on_prop_msg, recv unknown msg, {payload}')
|
||||
self.log_info('unknown prop msg, %s', payload)
|
||||
return
|
||||
if handler:
|
||||
self.log_debug('local, on properties_changed, %s', payload)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user