mirror of
https://github.com/XiaoMi/ha_xiaomi_home.git
synced 2026-01-17 15:41:15 +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)
|
self.entity_id)
|
||||||
continue
|
continue
|
||||||
for item in prop.value_list.items:
|
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)
|
self._prop_status_opening.append(item.value)
|
||||||
elif item.name in {'closing', 'close', 'down', 'dowm'}:
|
elif item.name in {'closing', 'close', 'down', 'dowm'}:
|
||||||
self._prop_status_closing.append(item.value)
|
self._prop_status_closing.append(item.value)
|
||||||
|
|||||||
@ -1178,7 +1178,7 @@ class MipsLocalClient(_MipsClient):
|
|||||||
or 'piid' not in msg
|
or 'piid' not in msg
|
||||||
or 'value' 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
|
return
|
||||||
if handler:
|
if handler:
|
||||||
self.log_debug('local, on properties_changed, %s', payload)
|
self.log_debug('local, on properties_changed, %s', payload)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user