Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xiaomi fryer 5.5 L entities has gone #2024

Open
jojoro1 opened this issue Dec 6, 2024 · 13 comments
Open

Xiaomi fryer 5.5 L entities has gone #2024

jojoro1 opened this issue Dec 6, 2024 · 13 comments

Comments

@jojoro1
Copy link

jojoro1 commented Dec 6, 2024

Device model / 设备型号

xiaomi.fryer.maf07d

Component version / 插件版本

1.0.2

HA core version / HA版本

2024.11.3

Integrated mode / 集成方式

Cloud (云端模式)

The problem / 问题详情

Upgrade to latest version 1.0.X cause missing all entities xiaomi.fryer.maf07d.
image

Wersion 0.7.5 is working fine.

Entity attributes / 实体属性

-

Home Assistant Logs / 系统日志

@p0macs
Copy link

p0macs commented Dec 6, 2024

Hi. The exact same issue on careli.fryer.maf10a fryer. Entities are no more available.

@ocean90
Copy link

ocean90 commented Dec 6, 2024

To be specific, the entities for the target-time, target-temperature and left-time properties are missing.

Bildschirmfoto 2024-12-06 um 18 21 43

https://home.miot-spec.com/spec/careli.fryer.maf05a
https://home.miot-spec.com/spec/careli.fryer.maf07

al-one added a commit that referenced this issue Dec 12, 2024
@al-one
Copy link
Owner

al-one commented Dec 12, 2024

Try master branch.

wget -O - https://get.hacs.vip | DOMAIN=xiaomi_miot ARCHIVE_TAG=master bash -

@jojoro1
Copy link
Author

jojoro1 commented Dec 12, 2024

on version 1.0.4 xiaomi.fryer.maf07d entities still missing :(
image

@al-one
Copy link
Owner

al-one commented Dec 13, 2024

@jojoro1 Try master branch.

@ocean90
Copy link

ocean90 commented Dec 13, 2024

@al-one Thank you! With c2c67e1 I have the entities back. But the sensor.careli_maf05a_53b4_status entity is now switching between standby/unknown every ~20 seconds. This is happening with careli.fryer.maf05a and careli.fryer.maf07.

Addon version: 1.0.4
Integrated mode: Automatic and Local

careli.fryer.maf07
von careli
Firmware: 2.2.0_0047 ☁️

careli.fryer.maf05a
von careli
Firmware: 2.2.4_0094 ☁️

@jojoro1
Copy link
Author

jojoro1 commented Dec 13, 2024

@al-one OK, I've chcecked:
image
As You can see almost all is working fine.

Some translations in polish are incomplete eg. one before last entity "button.xiaomi_maf07d_de98_start_cook" should be "Uruchom program" not "Zatrzymaj program"

These entities are missing:
switch.xiaomi_maf07d_de98_air_fryer_status
select.xiaomi_maf07d_de98_target_temperature
select.xiaomi_maf07d_de98_target_time

@al-one
Copy link
Owner

al-one commented Dec 13, 2024

But the sensor.careli_maf05a_53b4_status entity is now switching between standby/unknown every ~20 seconds

@ocean90 Try master branch

@ocean90
Copy link

ocean90 commented Dec 13, 2024

@al-one Thanks, I used the command from #2024 (comment), reloaded HA and the configuration but the status still updates from standby to unknown and back even my air fryer is off right now.

Attaching a log, maybe you see something there?

Debug log
2024-12-13 10:25:05.471 DEBUG (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Update miot status: {'use_local': [True, True, <MiotDevice: 192.168.178.168 (token: fb7ca32b3bc2432d8af680b62c765b09)>], 'use_cloud': [False, False], 'mapping': {'air_fryer.status': {'siid': 2, 'piid': 1}, 'air_fryer.target_time': {'siid': 2, 'piid': 3}, 'air_fryer.target_temperature': {'siid': 2, 'piid': 4}, 'air_fryer.left_time': {'siid': 2, 'piid': 5}}}
2024-12-13 10:25:10.478 INFO (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Got MiioException while fetching the state: Unable to discover the device 192.168.178.168, mapping: {'air_fryer.status': {'siid': 2, 'piid': 1}, 'air_fryer.target_time': {'siid': 2, 'piid': 3}, 'air_fryer.target_temperature': {'siid': 2, 'piid': 4}, 'air_fryer.left_time': {'siid': 2, 'piid': 5}}, max_properties: 4/4
2024-12-13 10:25:10.525 DEBUG (MainThread) [custom_components.xiaomi_miot.core.xiaomi_cloud] Request miot api: miotspec/prop/get {'params': [{'did': '593341113', 'siid': 2, 'piid': 1}, {'did': '593341113', 'siid': 2, 'piid': 3}, {'did': '593341113', 'siid': 2, 'piid': 4}, {'did': '593341113', 'siid': 2, 'piid': 5}]} result: bytearray(b'{"code":0,"message":"ok","result":[{"did":"593341113","iid":"0.2.1","siid":2,"piid":1,"value":1,"code":0,"updateTime":1734075349,"exe_time":0},{"did":"593341113","iid":"0.2.3","siid":2,"piid":3,"value":5,"code":0,"updateTime":1734075313,"exe_time":0},{"did":"593341113","iid":"0.2.4","siid":2,"piid":4,"value":77,"code":0,"updateTime":1734075343,"exe_time":0},{"did":"593341113","iid":"0.2.5","siid":2,"piid":5,"value":5,"code":0,"updateTime":1734075313,"exe_time":0}]}')
2024-12-13 10:25:10.526 INFO (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Device updated: {'air_fryer.status': 'standby', 'air_fryer.target_time': 5, 'air_fryer.target_temperature': 77, 'air_fryer.left_time': 5}
2024-12-13 10:25:10.526 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] sensor.careli_maf05a_53b4_status: Entity state updated: standby
2024-12-13 10:25:10.526 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] sensor.careli_maf05a_53b4_left_time: Entity state updated: 5
2024-12-13 10:25:10.526 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] number.careli_maf05a_53b4_target_time: Entity state updated: 5
2024-12-13 10:25:10.526 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] number.careli_maf05a_53b4_target_temperature: Entity state updated: 77
2024-12-13 10:25:10.526 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] button.careli_maf05a_53b4_info: Entity state updated: Heißluft-Fritteuse
2024-12-13 10:25:10.526 DEBUG (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Finished fetching cc:b5:d1:89:53:b4-58f06294d11d346a1c4710e9503054eb-chunk_1 data in 5.055 seconds (success: True)
2024-12-13 10:25:10.526 DEBUG (MainThread) [custom_components.xiaomi_miot.core.coordinator] Heißluft-Fritteuse(careli.fryer.maf05a): Coordinator updated: ['cc:b5:d1:89:53:b4-58f06294d11d346a1c4710e9503054eb-chunk_1', <custom_components.xiaomi_miot.core.miot_spec.MiotResults object at 0x7f5350eeb0>]
2024-12-13 10:25:20.358 DEBUG (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Update miot status: {'use_local': [True, True, <MiotDevice: 192.168.178.168 (token: fb7ca32b3bc2432d8af680b62c765b09)>], 'use_cloud': [False, False], 'mapping': {'custom.appoint_time': {'siid': 3, 'piid': 5}, 'air_fryer.fault': {'siid': 2, 'piid': 2}}}
2024-12-13 10:25:20.420 DEBUG (MainThread) [custom_components.xiaomi_miot.core.xiaomi_cloud] Request miot api: scene/history {'home_id': 926001045317, 'uid': 8178887220, 'owner_uid': 8178887220, 'command': 'history', 'limit': 15} result: bytearray(b'{"code":0,"message":"\xe6\x88\x90\xe5\x8a\x9f","result":{"history":[]}}')
2024-12-13 10:25:20.420 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Finished fetching xiaomi_miot-mihome-scene-history-8178887220_926001045317 data in 0.047 seconds (success: True)
2024-12-13 10:25:20.562 DEBUG (MainThread) [custom_components.xiaomi_miot.core.xiaomi_cloud] Request miot api: v2/message/v2/typelist {} result: bytearray(b'{"code":0,"message":"ok","result":{"messages":null}}')
2024-12-13 10:25:20.562 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Finished fetching xiaomi_miot-mihome-message-8178887220 data in 0.044 seconds (success: True)
2024-12-13 10:25:25.364 INFO (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Got MiioException while fetching the state: Unable to discover the device 192.168.178.168, mapping: {'custom.appoint_time': {'siid': 3, 'piid': 5}, 'air_fryer.fault': {'siid': 2, 'piid': 2}}, max_properties: 2/2
2024-12-13 10:25:25.411 DEBUG (MainThread) [custom_components.xiaomi_miot.core.xiaomi_cloud] Request miot api: miotspec/prop/get {'params': [{'did': '593341113', 'siid': 3, 'piid': 5}, {'did': '593341113', 'siid': 2, 'piid': 2}]} result: bytearray(b'{"code":0,"message":"ok","result":[{"did":"593341113","iid":"0.3.5","siid":3,"piid":5,"value":0,"code":0,"updateTime":1733503158,"exe_time":0},{"did":"593341113","iid":"0.2.2","siid":2,"piid":2,"value":0,"code":0,"updateTime":1734075201,"exe_time":0}]}')
2024-12-13 10:25:25.411 INFO (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Device updated: {'custom.appoint_time': 0, 'air_fryer.fault': 'No Faults'}
2024-12-13 10:25:25.412 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] sensor.careli_maf05a_53b4_status: Entity state updated: None
2024-12-13 10:25:25.412 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] number.careli_maf05a_53b4_appoint_time: Entity state updated: 0
2024-12-13 10:25:25.412 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] button.careli_maf05a_53b4_info: Entity state updated: Heißluft-Fritteuse
2024-12-13 10:25:25.412 DEBUG (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Finished fetching cc:b5:d1:89:53:b4-58f06294d11d346a1c4710e9503054eb-chunk_2 data in 5.054 seconds (success: True)
2024-12-13 10:25:25.412 DEBUG (MainThread) [custom_components.xiaomi_miot.core.coordinator] Heißluft-Fritteuse(careli.fryer.maf05a): Coordinator updated: ['cc:b5:d1:89:53:b4-58f06294d11d346a1c4710e9503054eb-chunk_2', <custom_components.xiaomi_miot.core.miot_spec.MiotResults object at 0x7f5438f150>]

@al-one
Copy link
Owner

al-one commented Dec 13, 2024

Unable to discover the device 192.168.178.168

@ocean90 Is online ?

@ocean90
Copy link

ocean90 commented Dec 13, 2024

@al-one No, it was offline. But it shouldn't switch the state if it's offline, right?

But here are two more logs where it's on:

Debug log (with starting a program)
2024-12-13 10:19:00.043 WARNING (MainThread) [custom_components.xiaomi_miot.sensor] Get xiaomi scene history for 8178887220 926001045317 failed: {'code': 0, 'message': '成功', 'result': {'history': []}}
2024-12-13 10:19:04.713 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'xiaomi_miot' uses `async_config_entry_first_refresh`, which is only supported when entry state is ConfigEntryState.SETUP_IN_PROGRESS, but it is in state ConfigEntryState.LOADED at custom_components/xiaomi_miot/core/device.py, line 442: await coo.async_config_entry_first_refresh(). This will stop working in Home Assistant 2025.11, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-12-13 10:22:35.361 WARNING (MainThread) [custom_components.xiaomi_miot.sensor] Get xiaomi scene history for 8178887220 926001045317 failed: {'code': 0, 'message': '成功', 'result': {'history': []}}
2024-12-13 10:25:05.296 DEBUG (MainThread) [custom_components.xiaomi_miot.core.device.zhimi.fan.za4] Update miot status: {'use_local': [True, True, <MiotDevice: 192.168.178.88 (token: 3ea12ff335106c3a30fbff9f255d16ef)>], 'use_cloud': [False, False], 'mapping': {'countdown.countdown_time': {'siid': 6, 'piid': 1}, 'indicator_light.brightness': {'siid': 5, 'piid': 1}, 'alarm': {'siid': 4, 'piid': 1}, 'physical_controls_locked': {'siid': 3, 'piid': 1}, 'fan.on': {'siid': 2, 'piid': 1}, 'fan.fan_level': {'siid': 2, 'piid': 2}, 'fan.horizontal_swing': {'siid': 2, 'piid': 3}, 'horizontal_swing_included_angle-2-4': {'siid': 2, 'piid': 4}, 'fan.mode': {'siid': 2, 'piid': 5}, 'fan-2.stepless_fan_level': {'siid': 2, 'piid': 6}}}
2024-12-13 10:25:05.471 DEBUG (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Update miot status: {'use_local': [True, True, <MiotDevice: 192.168.178.168 (token: fb7ca32b3bc2432d8af680b62c765b09)>], 'use_cloud': [False, False], 'mapping': {'air_fryer.status': {'siid': 2, 'piid': 1}, 'air_fryer.target_time': {'siid': 2, 'piid': 3}, 'air_fryer.target_temperature': {'siid': 2, 'piid': 4}, 'air_fryer.left_time': {'siid': 2, 'piid': 5}}}
2024-12-13 10:25:05.563 DEBUG (MainThread) [custom_components.xiaomi_miot.core.xiaomi_cloud] Request miot api: v2/message/v2/typelist {} result: bytearray(b'{"code":0,"message":"ok","result":{"messages":null}}')
2024-12-13 10:25:05.563 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Finished fetching xiaomi_miot-mihome-message-8178887220 data in 0.046 seconds (success: True)
2024-12-13 10:25:05.589 DEBUG (MainThread) [custom_components.xiaomi_miot.core.xiaomi_cloud] Request miot api: scene/history {'home_id': 926001045317, 'uid': 8178887220, 'owner_uid': 8178887220, 'command': 'history', 'limit': 15} result: bytearray(b'{"code":0,"message":"\xe6\x88\x90\xe5\x8a\x9f","result":{"history":[]}}')
2024-12-13 10:25:05.589 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Finished fetching xiaomi_miot-mihome-scene-history-8178887220_926001045317 data in 0.216 seconds (success: True)
2024-12-13 10:25:07.385 INFO (SyncWorker_6) [custom_components.xiaomi_miot.core.miio2miot] zhimi.fan.za4: Got miio props for miot: {'power': 'off', 'speed_level': 59, 'angle_enable': 'on', 'angle': 60, 'natural_level': 59, 'child_lock': 'off', 'buzzer': 0, 'led_b': 2}
2024-12-13 10:25:07.397 INFO (MainThread) [custom_components.xiaomi_miot.core.device.zhimi.fan.za4] Device updated: {'indicator_light.brightness': True, 'alarm': False, 'physical_controls_locked': False, 'fan.fan_level': 59, 'fan.horizontal_swing': True, 'fan-2.stepless_fan_level': 59}
2024-12-13 10:25:07.397 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] switch.zhimi_za4_5cf0_physical_control_locked: Entity state updated: False
2024-12-13 10:25:07.397 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] switch.zhimi_za4_5cf0_horizontal_swing: Entity state updated: True
2024-12-13 10:25:07.397 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] switch.zhimi_za4_5cf0_alarm: Entity state updated: False
2024-12-13 10:25:07.397 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] number.zhimi_za4_5cf0_gear_fan_level: Entity state updated: 59
2024-12-13 10:25:07.398 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] number.zhimi_za4_5cf0_stepless_fan_level: Entity state updated: 59
2024-12-13 10:25:07.398 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] button.zhimi_za4_5cf0_info: Entity state updated: Ventilator
2024-12-13 10:25:07.398 DEBUG (MainThread) [custom_components.xiaomi_miot.core.device.zhimi.fan.za4] Finished fetching 58:b6:23:31:5c:f0-58f06294d11d346a1c4710e9503054eb-miot_status data in 2.102 seconds (success: True)
2024-12-13 10:25:07.398 DEBUG (MainThread) [custom_components.xiaomi_miot.core.coordinator] Ventilator(zhimi.fan.za4): Coordinator updated: ['58:b6:23:31:5c:f0-58f06294d11d346a1c4710e9503054eb-miot_status', <custom_components.xiaomi_miot.core.miot_spec.MiotResults object at 0x7f5a2c26d0>]
2024-12-13 10:25:07.398 DEBUG (MainThread) [custom_components.xiaomi_miot.core.device.zhimi.fan.za4] Ventilator Fan: Got new state: {'state_updater': 'local', 'indicator_light.brightness': True, 'alarm': False, 'physical_controls_locked': False, 'fan.on': False, 'fan.fan_level': 59, 'fan.horizontal_swing': True, 'horizontal_swing_included_angle-2-4': 60, 'fan.mode': 1, 'fan-2.stepless_fan_level': 59}
2024-12-13 10:25:10.478 INFO (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Got MiioException while fetching the state: Unable to discover the device 192.168.178.168, mapping: {'air_fryer.status': {'siid': 2, 'piid': 1}, 'air_fryer.target_time': {'siid': 2, 'piid': 3}, 'air_fryer.target_temperature': {'siid': 2, 'piid': 4}, 'air_fryer.left_time': {'siid': 2, 'piid': 5}}, max_properties: 4/4
2024-12-13 10:25:10.525 DEBUG (MainThread) [custom_components.xiaomi_miot.core.xiaomi_cloud] Request miot api: miotspec/prop/get {'params': [{'did': '593341113', 'siid': 2, 'piid': 1}, {'did': '593341113', 'siid': 2, 'piid': 3}, {'did': '593341113', 'siid': 2, 'piid': 4}, {'did': '593341113', 'siid': 2, 'piid': 5}]} result: bytearray(b'{"code":0,"message":"ok","result":[{"did":"593341113","iid":"0.2.1","siid":2,"piid":1,"value":1,"code":0,"updateTime":1734075349,"exe_time":0},{"did":"593341113","iid":"0.2.3","siid":2,"piid":3,"value":5,"code":0,"updateTime":1734075313,"exe_time":0},{"did":"593341113","iid":"0.2.4","siid":2,"piid":4,"value":77,"code":0,"updateTime":1734075343,"exe_time":0},{"did":"593341113","iid":"0.2.5","siid":2,"piid":5,"value":5,"code":0,"updateTime":1734075313,"exe_time":0}]}')
2024-12-13 10:25:10.526 INFO (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Device updated: {'air_fryer.status': 'standby', 'air_fryer.target_time': 5, 'air_fryer.target_temperature': 77, 'air_fryer.left_time': 5}
2024-12-13 10:25:10.526 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] sensor.careli_maf05a_53b4_status: Entity state updated: standby
2024-12-13 10:25:10.526 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] sensor.careli_maf05a_53b4_left_time: Entity state updated: 5
2024-12-13 10:25:10.526 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] number.careli_maf05a_53b4_target_time: Entity state updated: 5
2024-12-13 10:25:10.526 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] number.careli_maf05a_53b4_target_temperature: Entity state updated: 77
2024-12-13 10:25:10.526 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] button.careli_maf05a_53b4_info: Entity state updated: Heißluft-Fritteuse
2024-12-13 10:25:10.526 DEBUG (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Finished fetching cc:b5:d1:89:53:b4-58f06294d11d346a1c4710e9503054eb-chunk_1 data in 5.055 seconds (success: True)
2024-12-13 10:25:10.526 DEBUG (MainThread) [custom_components.xiaomi_miot.core.coordinator] Heißluft-Fritteuse(careli.fryer.maf05a): Coordinator updated: ['cc:b5:d1:89:53:b4-58f06294d11d346a1c4710e9503054eb-chunk_1', <custom_components.xiaomi_miot.core.miot_spec.MiotResults object at 0x7f5350eeb0>]
2024-12-13 10:25:20.358 DEBUG (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Update miot status: {'use_local': [True, True, <MiotDevice: 192.168.178.168 (token: fb7ca32b3bc2432d8af680b62c765b09)>], 'use_cloud': [False, False], 'mapping': {'custom.appoint_time': {'siid': 3, 'piid': 5}, 'air_fryer.fault': {'siid': 2, 'piid': 2}}}
2024-12-13 10:25:20.420 DEBUG (MainThread) [custom_components.xiaomi_miot.core.xiaomi_cloud] Request miot api: scene/history {'home_id': 926001045317, 'uid': 8178887220, 'owner_uid': 8178887220, 'command': 'history', 'limit': 15} result: bytearray(b'{"code":0,"message":"\xe6\x88\x90\xe5\x8a\x9f","result":{"history":[]}}')
2024-12-13 10:25:20.420 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Finished fetching xiaomi_miot-mihome-scene-history-8178887220_926001045317 data in 0.047 seconds (success: True)
2024-12-13 10:25:20.562 DEBUG (MainThread) [custom_components.xiaomi_miot.core.xiaomi_cloud] Request miot api: v2/message/v2/typelist {} result: bytearray(b'{"code":0,"message":"ok","result":{"messages":null}}')
2024-12-13 10:25:20.562 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Finished fetching xiaomi_miot-mihome-message-8178887220 data in 0.044 seconds (success: True)
2024-12-13 10:25:25.364 INFO (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Got MiioException while fetching the state: Unable to discover the device 192.168.178.168, mapping: {'custom.appoint_time': {'siid': 3, 'piid': 5}, 'air_fryer.fault': {'siid': 2, 'piid': 2}}, max_properties: 2/2
2024-12-13 10:25:25.411 DEBUG (MainThread) [custom_components.xiaomi_miot.core.xiaomi_cloud] Request miot api: miotspec/prop/get {'params': [{'did': '593341113', 'siid': 3, 'piid': 5}, {'did': '593341113', 'siid': 2, 'piid': 2}]} result: bytearray(b'{"code":0,"message":"ok","result":[{"did":"593341113","iid":"0.3.5","siid":3,"piid":5,"value":0,"code":0,"updateTime":1733503158,"exe_time":0},{"did":"593341113","iid":"0.2.2","siid":2,"piid":2,"value":0,"code":0,"updateTime":1734075201,"exe_time":0}]}')
2024-12-13 10:25:25.411 INFO (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Device updated: {'custom.appoint_time': 0, 'air_fryer.fault': 'No Faults'}
2024-12-13 10:25:25.412 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] sensor.careli_maf05a_53b4_status: Entity state updated: None
2024-12-13 10:25:25.412 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] number.careli_maf05a_53b4_appoint_time: Entity state updated: 0
2024-12-13 10:25:25.412 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] button.careli_maf05a_53b4_info: Entity state updated: Heißluft-Fritteuse
2024-12-13 10:25:25.412 DEBUG (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Finished fetching cc:b5:d1:89:53:b4-58f06294d11d346a1c4710e9503054eb-chunk_2 data in 5.054 seconds (success: True)
2024-12-13 10:25:25.412 DEBUG (MainThread) [custom_components.xiaomi_miot.core.coordinator] Heißluft-Fritteuse(careli.fryer.maf05a): Coordinator updated: ['cc:b5:d1:89:53:b4-58f06294d11d346a1c4710e9503054eb-chunk_2', <custom_components.xiaomi_miot.core.miot_spec.MiotResults object at 0x7f5438f150>]
2024-12-13 11:12:50.734 INFO (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Device updated: {'air_fryer.status': 'standby', 'air_fryer.target_time': 5, 'air_fryer.target_temperature': 77, 'air_fryer.left_time': 5}
2024-12-13 11:12:50.735 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] sensor.careli_maf05a_53b4_status: Entity state updated: standby
2024-12-13 11:12:50.735 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] sensor.careli_maf05a_53b4_left_time: Entity state updated: 5
2024-12-13 11:12:50.735 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] number.careli_maf05a_53b4_target_time: Entity state updated: 5
2024-12-13 11:12:50.735 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] number.careli_maf05a_53b4_target_temperature: Entity state updated: 77
2024-12-13 11:12:50.736 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] button.careli_maf05a_53b4_info: Entity state updated: Heißluft-Fritteuse
2024-12-13 11:12:50.736 DEBUG (MainThread) [custom_components.xiaomi_miot.core.coordinator] Heißluft-Fritteuse(careli.fryer.maf05a): Coordinator updated: ['cc:b5:d1:89:53:b4-58f06294d11d346a1c4710e9503054eb-chunk_1', <custom_components.xiaomi_miot.core.miot_spec.MiotResults object at 0x7f5275de80>]
2024-12-13 11:13:05.362 DEBUG (MainThread) [custom_components.xiaomi_miot.core.device.zhimi.fan.za4] Update miot status: {'use_local': [True, True, <MiotDevice: 192.168.178.88 (token: 3ea12ff335106c3a30fbff9f255d16ef)>], 'use_cloud': [False, False], 'mapping': {'countdown.countdown_time': {'siid': 6, 'piid': 1}, 'indicator_light.brightness': {'siid': 5, 'piid': 1}, 'alarm': {'siid': 4, 'piid': 1}, 'physical_controls_locked': {'siid': 3, 'piid': 1}, 'fan.on': {'siid': 2, 'piid': 1}, 'fan.fan_level': {'siid': 2, 'piid': 2}, 'fan.horizontal_swing': {'siid': 2, 'piid': 3}, 'horizontal_swing_included_angle-2-4': {'siid': 2, 'piid': 4}, 'fan.mode': {'siid': 2, 'piid': 5}, 'fan-2.stepless_fan_level': {'siid': 2, 'piid': 6}}}
2024-12-13 11:13:05.420 DEBUG (MainThread) [custom_components.xiaomi_miot.core.xiaomi_cloud] Request miot api: scene/history {'home_id': 926001045317, 'uid': 8178887220, 'owner_uid': 8178887220, 'command': 'history', 'limit': 15} result: bytearray(b'{"code":0,"message":"\xe6\x88\x90\xe5\x8a\x9f","result":{"history":[]}}')
2024-12-13 11:13:05.420 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Finished fetching xiaomi_miot-mihome-scene-history-8178887220_926001045317 data in 0.048 seconds (success: True)
2024-12-13 11:13:05.563 DEBUG (MainThread) [custom_components.xiaomi_miot.core.xiaomi_cloud] Request miot api: v2/message/v2/typelist {} result: bytearray(b'{"code":0,"message":"ok","result":{"messages":null}}')
2024-12-13 11:13:05.563 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Finished fetching xiaomi_miot-mihome-message-8178887220 data in 0.045 seconds (success: True)
2024-12-13 11:13:07.518 INFO (SyncWorker_53) [custom_components.xiaomi_miot.core.miio2miot] zhimi.fan.za4: Got miio props for miot: {'power': 'off', 'speed_level': 59, 'angle_enable': 'on', 'angle': 60, 'natural_level': 59, 'child_lock': 'off', 'buzzer': 0, 'led_b': 2}
2024-12-13 11:13:07.530 INFO (MainThread) [custom_components.xiaomi_miot.core.device.zhimi.fan.za4] Device updated: {'indicator_light.brightness': True, 'alarm': False, 'physical_controls_locked': False, 'fan.fan_level': 59, 'fan.horizontal_swing': True, 'fan-2.stepless_fan_level': 59}
2024-12-13 11:13:07.530 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] switch.zhimi_za4_5cf0_physical_control_locked: Entity state updated: False
2024-12-13 11:13:07.530 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] switch.zhimi_za4_5cf0_horizontal_swing: Entity state updated: True
2024-12-13 11:13:07.530 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] switch.zhimi_za4_5cf0_alarm: Entity state updated: False
2024-12-13 11:13:07.530 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] number.zhimi_za4_5cf0_gear_fan_level: Entity state updated: 59
2024-12-13 11:13:07.530 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] number.zhimi_za4_5cf0_stepless_fan_level: Entity state updated: 59
2024-12-13 11:13:07.531 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] button.zhimi_za4_5cf0_info: Entity state updated: Ventilator
2024-12-13 11:13:07.531 DEBUG (MainThread) [custom_components.xiaomi_miot.core.device.zhimi.fan.za4] Finished fetching 58:b6:23:31:5c:f0-58f06294d11d346a1c4710e9503054eb-miot_status data in 2.169 seconds (success: True)
2024-12-13 11:13:07.531 DEBUG (MainThread) [custom_components.xiaomi_miot.core.coordinator] Ventilator(zhimi.fan.za4): Coordinator updated: ['58:b6:23:31:5c:f0-58f06294d11d346a1c4710e9503054eb-miot_status', <custom_components.xiaomi_miot.core.miot_spec.MiotResults object at 0x7f54067cb0>]
2024-12-13 11:13:07.531 DEBUG (MainThread) [custom_components.xiaomi_miot.core.device.zhimi.fan.za4] Ventilator Fan: Got new state: {'state_updater': 'local', 'indicator_light.brightness': True, 'alarm': False, 'physical_controls_locked': False, 'fan.on': False, 'fan.fan_level': 59, 'fan.horizontal_swing': True, 'horizontal_swing_included_angle-2-4': 60, 'fan.mode': 1, 'fan-2.stepless_fan_level': 59}
2024-12-13 11:13:10.147 INFO (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Device write data: [{'air_fryer.start_cook': None}, {'method': 'action', 'param': {'did': '593341113', 'siid': 2, 'aiid': 1, 'in': []}}]
2024-12-13 11:13:10.291 INFO (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Device write result: [{'air_fryer.start_cook': None}, {'code': 0, 'out': []}]
2024-12-13 11:13:10.291 INFO (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Device updated: {'air_fryer.start_cook': None}
2024-12-13 11:13:10.291 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] button.careli_maf05a_53b4_start_cook: Entity state updated: None
2024-12-13 11:13:10.471 DEBUG (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Update miot status: {'use_local': [True, True, <MiotDevice: 192.168.178.168 (token: fb7ca32b3bc2432d8af680b62c765b09)>], 'use_cloud': [False, False], 'mapping': {'air_fryer.status': {'siid': 2, 'piid': 1}, 'air_fryer.target_time': {'siid': 2, 'piid': 3}, 'air_fryer.target_temperature': {'siid': 2, 'piid': 4}, 'air_fryer.left_time': {'siid': 2, 'piid': 5}}}
2024-12-13 11:13:10.744 INFO (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Device updated: {'air_fryer.status': 'cooking', 'air_fryer.target_time': 5, 'air_fryer.target_temperature': 77, 'air_fryer.left_time': 5}
2024-12-13 11:13:10.744 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] sensor.careli_maf05a_53b4_status: Entity state updated: cooking
2024-12-13 11:13:10.744 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] sensor.careli_maf05a_53b4_left_time: Entity state updated: 5
2024-12-13 11:13:10.744 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] number.careli_maf05a_53b4_target_time: Entity state updated: 5
2024-12-13 11:13:10.744 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] number.careli_maf05a_53b4_target_temperature: Entity state updated: 77
2024-12-13 11:13:10.745 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] button.careli_maf05a_53b4_info: Entity state updated: Heißluft-Fritteuse
2024-12-13 11:13:10.745 DEBUG (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Finished fetching cc:b5:d1:89:53:b4-58f06294d11d346a1c4710e9503054eb-chunk_1 data in 0.274 seconds (success: True)
2024-12-13 11:13:10.745 DEBUG (MainThread) [custom_components.xiaomi_miot.core.coordinator] Heißluft-Fritteuse(careli.fryer.maf05a): Coordinator updated: ['cc:b5:d1:89:53:b4-58f06294d11d346a1c4710e9503054eb-chunk_1', <custom_components.xiaomi_miot.core.miot_spec.MiotResults object at 0x7f54067000>]
2024-12-13 11:13:13.880 INFO (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Device write data: [{'air_fryer.cancel_cooking': None}, {'method': 'action', 'param': {'did': '593341113', 'siid': 2, 'aiid': 2, 'in': []}}]
2024-12-13 11:13:14.122 INFO (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Device write result: [{'air_fryer.cancel_cooking': None}, {'code': 0, 'out': []}]
2024-12-13 11:13:14.122 INFO (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Device updated: {'air_fryer.cancel_cooking': None}
2024-12-13 11:13:14.122 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] button.careli_maf05a_53b4_cancel_cooking: Entity state updated: None
2024-12-13 11:13:16.358 DEBUG (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Update miot status: {'use_local': [True, True, <MiotDevice: 192.168.178.168 (token: fb7ca32b3bc2432d8af680b62c765b09)>], 'use_cloud': [False, False], 'mapping': {'custom.appoint_time': {'siid': 3, 'piid': 5}, 'air_fryer.fault': {'siid': 2, 'piid': 2}}}
2024-12-13 11:13:16.577 INFO (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Device updated: {'custom.appoint_time': 0, 'air_fryer.fault': 'No Faults'}
2024-12-13 11:13:16.577 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] sensor.careli_maf05a_53b4_status: Entity state updated: None
2024-12-13 11:13:16.577 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] number.careli_maf05a_53b4_appoint_time: Entity state updated: 0
2024-12-13 11:13:16.578 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] button.careli_maf05a_53b4_info: Entity state updated: Heißluft-Fritteuse
2024-12-13 11:13:16.578 DEBUG (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Finished fetching cc:b5:d1:89:53:b4-58f06294d11d346a1c4710e9503054eb-chunk_2 data in 0.220 seconds (success: True)
2024-12-13 11:13:16.578 DEBUG (MainThread) [custom_components.xiaomi_miot.core.coordinator] Heißluft-Fritteuse(careli.fryer.maf05a): Coordinator updated: ['cc:b5:d1:89:53:b4-58f06294d11d346a1c4710e9503054eb-chunk_2', <custom_components.xiaomi_miot.core.miot_spec.MiotResults object at 0x7f54a4f310>]
2024-12-13 11:13:20.465 DEBUG (MainThread) [custom_components.xiaomi_miot.core.xiaomi_cloud] Request miot api: scene/history {'home_id': 926001045317, 'uid': 8178887220, 'owner_uid': 8178887220, 'command': 'history', 'limit': 15} result: bytearray(b'{"code":0,"message":"\xe6\x88\x90\xe5\x8a\x9f","result":{"history":[]}}')
2024-12-13 11:13:20.465 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Finished fetching xiaomi_miot-mihome-scene-history-8178887220_926001045317 data in 0.092 seconds (success: True)
2024-12-13 11:13:20.563 DEBUG (MainThread) [custom_components.xiaomi_miot.core.xiaomi_cloud] Request miot api: v2/message/v2/typelist {} result: bytearray(b'{"code":0,"message":"ok","result":{"messages":null}}')
2024-12-13 11:13:20.563 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Finished fetching xiaomi_miot-mihome-message-8178887220 data in 0.046 seconds (success: True)
Debug log (only standby)
2024-12-13 10:19:00.043 WARNING (MainThread) [custom_components.xiaomi_miot.sensor] Get xiaomi scene history for 8178887220 926001045317 failed: {'code': 0, 'message': '成功', 'result': {'history': []}}
2024-12-13 10:19:04.713 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'xiaomi_miot' uses `async_config_entry_first_refresh`, which is only supported when entry state is ConfigEntryState.SETUP_IN_PROGRESS, but it is in state ConfigEntryState.LOADED at custom_components/xiaomi_miot/core/device.py, line 442: await coo.async_config_entry_first_refresh(). This will stop working in Home Assistant 2025.11, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-12-13 10:22:35.361 WARNING (MainThread) [custom_components.xiaomi_miot.sensor] Get xiaomi scene history for 8178887220 926001045317 failed: {'code': 0, 'message': '成功', 'result': {'history': []}}
2024-12-13 10:25:05.296 DEBUG (MainThread) [custom_components.xiaomi_miot.core.device.zhimi.fan.za4] Update miot status: {'use_local': [True, True, <MiotDevice: 192.168.178.88 (token: 3ea12ff335106c3a30fbff9f255d16ef)>], 'use_cloud': [False, False], 'mapping': {'countdown.countdown_time': {'siid': 6, 'piid': 1}, 'indicator_light.brightness': {'siid': 5, 'piid': 1}, 'alarm': {'siid': 4, 'piid': 1}, 'physical_controls_locked': {'siid': 3, 'piid': 1}, 'fan.on': {'siid': 2, 'piid': 1}, 'fan.fan_level': {'siid': 2, 'piid': 2}, 'fan.horizontal_swing': {'siid': 2, 'piid': 3}, 'horizontal_swing_included_angle-2-4': {'siid': 2, 'piid': 4}, 'fan.mode': {'siid': 2, 'piid': 5}, 'fan-2.stepless_fan_level': {'siid': 2, 'piid': 6}}}
2024-12-13 10:25:05.471 DEBUG (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Update miot status: {'use_local': [True, True, <MiotDevice: 192.168.178.168 (token: fb7ca32b3bc2432d8af680b62c765b09)>], 'use_cloud': [False, False], 'mapping': {'air_fryer.status': {'siid': 2, 'piid': 1}, 'air_fryer.target_time': {'siid': 2, 'piid': 3}, 'air_fryer.target_temperature': {'siid': 2, 'piid': 4}, 'air_fryer.left_time': {'siid': 2, 'piid': 5}}}
2024-12-13 10:25:05.563 DEBUG (MainThread) [custom_components.xiaomi_miot.core.xiaomi_cloud] Request miot api: v2/message/v2/typelist {} result: bytearray(b'{"code":0,"message":"ok","result":{"messages":null}}')
2024-12-13 10:25:05.563 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Finished fetching xiaomi_miot-mihome-message-8178887220 data in 0.046 seconds (success: True)
2024-12-13 10:25:05.589 DEBUG (MainThread) [custom_components.xiaomi_miot.core.xiaomi_cloud] Request miot api: scene/history {'home_id': 926001045317, 'uid': 8178887220, 'owner_uid': 8178887220, 'command': 'history', 'limit': 15} result: bytearray(b'{"code":0,"message":"\xe6\x88\x90\xe5\x8a\x9f","result":{"history":[]}}')
2024-12-13 10:25:05.589 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Finished fetching xiaomi_miot-mihome-scene-history-8178887220_926001045317 data in 0.216 seconds (success: True)
2024-12-13 10:25:07.385 INFO (SyncWorker_6) [custom_components.xiaomi_miot.core.miio2miot] zhimi.fan.za4: Got miio props for miot: {'power': 'off', 'speed_level': 59, 'angle_enable': 'on', 'angle': 60, 'natural_level': 59, 'child_lock': 'off', 'buzzer': 0, 'led_b': 2}
2024-12-13 10:25:07.397 INFO (MainThread) [custom_components.xiaomi_miot.core.device.zhimi.fan.za4] Device updated: {'indicator_light.brightness': True, 'alarm': False, 'physical_controls_locked': False, 'fan.fan_level': 59, 'fan.horizontal_swing': True, 'fan-2.stepless_fan_level': 59}
2024-12-13 10:25:07.397 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] switch.zhimi_za4_5cf0_physical_control_locked: Entity state updated: False
2024-12-13 10:25:07.397 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] switch.zhimi_za4_5cf0_horizontal_swing: Entity state updated: True
2024-12-13 10:25:07.397 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] switch.zhimi_za4_5cf0_alarm: Entity state updated: False
2024-12-13 10:25:07.397 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] number.zhimi_za4_5cf0_gear_fan_level: Entity state updated: 59
2024-12-13 10:25:07.398 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] number.zhimi_za4_5cf0_stepless_fan_level: Entity state updated: 59
2024-12-13 10:25:07.398 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] button.zhimi_za4_5cf0_info: Entity state updated: Ventilator
2024-12-13 10:25:07.398 DEBUG (MainThread) [custom_components.xiaomi_miot.core.device.zhimi.fan.za4] Finished fetching 58:b6:23:31:5c:f0-58f06294d11d346a1c4710e9503054eb-miot_status data in 2.102 seconds (success: True)
2024-12-13 10:25:07.398 DEBUG (MainThread) [custom_components.xiaomi_miot.core.coordinator] Ventilator(zhimi.fan.za4): Coordinator updated: ['58:b6:23:31:5c:f0-58f06294d11d346a1c4710e9503054eb-miot_status', <custom_components.xiaomi_miot.core.miot_spec.MiotResults object at 0x7f5a2c26d0>]
2024-12-13 10:25:07.398 DEBUG (MainThread) [custom_components.xiaomi_miot.core.device.zhimi.fan.za4] Ventilator Fan: Got new state: {'state_updater': 'local', 'indicator_light.brightness': True, 'alarm': False, 'physical_controls_locked': False, 'fan.on': False, 'fan.fan_level': 59, 'fan.horizontal_swing': True, 'horizontal_swing_included_angle-2-4': 60, 'fan.mode': 1, 'fan-2.stepless_fan_level': 59}
2024-12-13 10:25:10.478 INFO (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Got MiioException while fetching the state: Unable to discover the device 192.168.178.168, mapping: {'air_fryer.status': {'siid': 2, 'piid': 1}, 'air_fryer.target_time': {'siid': 2, 'piid': 3}, 'air_fryer.target_temperature': {'siid': 2, 'piid': 4}, 'air_fryer.left_time': {'siid': 2, 'piid': 5}}, max_properties: 4/4
2024-12-13 10:25:10.525 DEBUG (MainThread) [custom_components.xiaomi_miot.core.xiaomi_cloud] Request miot api: miotspec/prop/get {'params': [{'did': '593341113', 'siid': 2, 'piid': 1}, {'did': '593341113', 'siid': 2, 'piid': 3}, {'did': '593341113', 'siid': 2, 'piid': 4}, {'did': '593341113', 'siid': 2, 'piid': 5}]} result: bytearray(b'{"code":0,"message":"ok","result":[{"did":"593341113","iid":"0.2.1","siid":2,"piid":1,"value":1,"code":0,"updateTime":1734075349,"exe_time":0},{"did":"593341113","iid":"0.2.3","siid":2,"piid":3,"value":5,"code":0,"updateTime":1734075313,"exe_time":0},{"did":"593341113","iid":"0.2.4","siid":2,"piid":4,"value":77,"code":0,"updateTime":1734075343,"exe_time":0},{"did":"593341113","iid":"0.2.5","siid":2,"piid":5,"value":5,"code":0,"updateTime":1734075313,"exe_time":0}]}')
2024-12-13 10:25:10.526 INFO (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Device updated: {'air_fryer.status': 'standby', 'air_fryer.target_time': 5, 'air_fryer.target_temperature': 77, 'air_fryer.left_time': 5}
2024-12-13 10:25:10.526 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] sensor.careli_maf05a_53b4_status: Entity state updated: standby
2024-12-13 10:25:10.526 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] sensor.careli_maf05a_53b4_left_time: Entity state updated: 5
2024-12-13 10:25:10.526 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] number.careli_maf05a_53b4_target_time: Entity state updated: 5
2024-12-13 10:25:10.526 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] number.careli_maf05a_53b4_target_temperature: Entity state updated: 77
2024-12-13 10:25:10.526 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] button.careli_maf05a_53b4_info: Entity state updated: Heißluft-Fritteuse
2024-12-13 10:25:10.526 DEBUG (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Finished fetching cc:b5:d1:89:53:b4-58f06294d11d346a1c4710e9503054eb-chunk_1 data in 5.055 seconds (success: True)
2024-12-13 10:25:10.526 DEBUG (MainThread) [custom_components.xiaomi_miot.core.coordinator] Heißluft-Fritteuse(careli.fryer.maf05a): Coordinator updated: ['cc:b5:d1:89:53:b4-58f06294d11d346a1c4710e9503054eb-chunk_1', <custom_components.xiaomi_miot.core.miot_spec.MiotResults object at 0x7f5350eeb0>]
2024-12-13 10:25:20.358 DEBUG (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Update miot status: {'use_local': [True, True, <MiotDevice: 192.168.178.168 (token: fb7ca32b3bc2432d8af680b62c765b09)>], 'use_cloud': [False, False], 'mapping': {'custom.appoint_time': {'siid': 3, 'piid': 5}, 'air_fryer.fault': {'siid': 2, 'piid': 2}}}
2024-12-13 10:25:20.420 DEBUG (MainThread) [custom_components.xiaomi_miot.core.xiaomi_cloud] Request miot api: scene/history {'home_id': 926001045317, 'uid': 8178887220, 'owner_uid': 8178887220, 'command': 'history', 'limit': 15} result: bytearray(b'{"code":0,"message":"\xe6\x88\x90\xe5\x8a\x9f","result":{"history":[]}}')
2024-12-13 10:25:20.420 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Finished fetching xiaomi_miot-mihome-scene-history-8178887220_926001045317 data in 0.047 seconds (success: True)
2024-12-13 10:25:20.562 DEBUG (MainThread) [custom_components.xiaomi_miot.core.xiaomi_cloud] Request miot api: v2/message/v2/typelist {} result: bytearray(b'{"code":0,"message":"ok","result":{"messages":null}}')
2024-12-13 10:25:20.562 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Finished fetching xiaomi_miot-mihome-message-8178887220 data in 0.044 seconds (success: True)
2024-12-13 10:25:25.364 INFO (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Got MiioException while fetching the state: Unable to discover the device 192.168.178.168, mapping: {'custom.appoint_time': {'siid': 3, 'piid': 5}, 'air_fryer.fault': {'siid': 2, 'piid': 2}}, max_properties: 2/2
2024-12-13 10:25:25.411 DEBUG (MainThread) [custom_components.xiaomi_miot.core.xiaomi_cloud] Request miot api: miotspec/prop/get {'params': [{'did': '593341113', 'siid': 3, 'piid': 5}, {'did': '593341113', 'siid': 2, 'piid': 2}]} result: bytearray(b'{"code":0,"message":"ok","result":[{"did":"593341113","iid":"0.3.5","siid":3,"piid":5,"value":0,"code":0,"updateTime":1733503158,"exe_time":0},{"did":"593341113","iid":"0.2.2","siid":2,"piid":2,"value":0,"code":0,"updateTime":1734075201,"exe_time":0}]}')
2024-12-13 10:25:25.411 INFO (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Device updated: {'custom.appoint_time': 0, 'air_fryer.fault': 'No Faults'}
2024-12-13 10:25:25.412 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] sensor.careli_maf05a_53b4_status: Entity state updated: None
2024-12-13 10:25:25.412 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] number.careli_maf05a_53b4_appoint_time: Entity state updated: 0
2024-12-13 10:25:25.412 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] button.careli_maf05a_53b4_info: Entity state updated: Heißluft-Fritteuse
2024-12-13 10:25:25.412 DEBUG (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Finished fetching cc:b5:d1:89:53:b4-58f06294d11d346a1c4710e9503054eb-chunk_2 data in 5.054 seconds (success: True)
2024-12-13 10:25:25.412 DEBUG (MainThread) [custom_components.xiaomi_miot.core.coordinator] Heißluft-Fritteuse(careli.fryer.maf05a): Coordinator updated: ['cc:b5:d1:89:53:b4-58f06294d11d346a1c4710e9503054eb-chunk_2', <custom_components.xiaomi_miot.core.miot_spec.MiotResults object at 0x7f5438f150>]
2024-12-13 10:39:02.359 WARNING (MainThread) [homeassistant.helpers.entity] Update of image.fritz_box_7490_witzbox is taking over 10 seconds
2024-12-13 10:44:32.367 WARNING (MainThread) [homeassistant.helpers.entity] Update of image.fritz_box_7490_witzbox is taking over 10 seconds
2024-12-13 10:52:02.375 WARNING (MainThread) [homeassistant.helpers.entity] Update of image.fritz_box_7490_witzbox is taking over 10 seconds
2024-12-13 11:04:02.391 WARNING (MainThread) [homeassistant.helpers.entity] Update of image.fritz_box_7490_witzbox is taking over 10 seconds
2024-12-13 11:12:50.734 INFO (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Device updated: {'air_fryer.status': 'standby', 'air_fryer.target_time': 5, 'air_fryer.target_temperature': 77, 'air_fryer.left_time': 5}
2024-12-13 11:12:50.735 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] sensor.careli_maf05a_53b4_status: Entity state updated: standby
2024-12-13 11:12:50.735 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] sensor.careli_maf05a_53b4_left_time: Entity state updated: 5
2024-12-13 11:12:50.735 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] number.careli_maf05a_53b4_target_time: Entity state updated: 5
2024-12-13 11:12:50.735 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] number.careli_maf05a_53b4_target_temperature: Entity state updated: 77
2024-12-13 11:12:50.736 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] button.careli_maf05a_53b4_info: Entity state updated: Heißluft-Fritteuse
2024-12-13 11:12:50.736 DEBUG (MainThread) [custom_components.xiaomi_miot.core.coordinator] Heißluft-Fritteuse(careli.fryer.maf05a): Coordinator updated: ['cc:b5:d1:89:53:b4-58f06294d11d346a1c4710e9503054eb-chunk_1', <custom_components.xiaomi_miot.core.miot_spec.MiotResults object at 0x7f5275de80>]
2024-12-13 11:13:05.362 DEBUG (MainThread) [custom_components.xiaomi_miot.core.device.zhimi.fan.za4] Update miot status: {'use_local': [True, True, <MiotDevice: 192.168.178.88 (token: 3ea12ff335106c3a30fbff9f255d16ef)>], 'use_cloud': [False, False], 'mapping': {'countdown.countdown_time': {'siid': 6, 'piid': 1}, 'indicator_light.brightness': {'siid': 5, 'piid': 1}, 'alarm': {'siid': 4, 'piid': 1}, 'physical_controls_locked': {'siid': 3, 'piid': 1}, 'fan.on': {'siid': 2, 'piid': 1}, 'fan.fan_level': {'siid': 2, 'piid': 2}, 'fan.horizontal_swing': {'siid': 2, 'piid': 3}, 'horizontal_swing_included_angle-2-4': {'siid': 2, 'piid': 4}, 'fan.mode': {'siid': 2, 'piid': 5}, 'fan-2.stepless_fan_level': {'siid': 2, 'piid': 6}}}
2024-12-13 11:13:05.420 DEBUG (MainThread) [custom_components.xiaomi_miot.core.xiaomi_cloud] Request miot api: scene/history {'home_id': 926001045317, 'uid': 8178887220, 'owner_uid': 8178887220, 'command': 'history', 'limit': 15} result: bytearray(b'{"code":0,"message":"\xe6\x88\x90\xe5\x8a\x9f","result":{"history":[]}}')
2024-12-13 11:13:05.420 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Finished fetching xiaomi_miot-mihome-scene-history-8178887220_926001045317 data in 0.048 seconds (success: True)
2024-12-13 11:13:05.563 DEBUG (MainThread) [custom_components.xiaomi_miot.core.xiaomi_cloud] Request miot api: v2/message/v2/typelist {} result: bytearray(b'{"code":0,"message":"ok","result":{"messages":null}}')
2024-12-13 11:13:05.563 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Finished fetching xiaomi_miot-mihome-message-8178887220 data in 0.045 seconds (success: True)
2024-12-13 11:13:07.518 INFO (SyncWorker_53) [custom_components.xiaomi_miot.core.miio2miot] zhimi.fan.za4: Got miio props for miot: {'power': 'off', 'speed_level': 59, 'angle_enable': 'on', 'angle': 60, 'natural_level': 59, 'child_lock': 'off', 'buzzer': 0, 'led_b': 2}
2024-12-13 11:13:07.530 INFO (MainThread) [custom_components.xiaomi_miot.core.device.zhimi.fan.za4] Device updated: {'indicator_light.brightness': True, 'alarm': False, 'physical_controls_locked': False, 'fan.fan_level': 59, 'fan.horizontal_swing': True, 'fan-2.stepless_fan_level': 59}
2024-12-13 11:13:07.530 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] switch.zhimi_za4_5cf0_physical_control_locked: Entity state updated: False
2024-12-13 11:13:07.530 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] switch.zhimi_za4_5cf0_horizontal_swing: Entity state updated: True
2024-12-13 11:13:07.530 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] switch.zhimi_za4_5cf0_alarm: Entity state updated: False
2024-12-13 11:13:07.530 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] number.zhimi_za4_5cf0_gear_fan_level: Entity state updated: 59
2024-12-13 11:13:07.530 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] number.zhimi_za4_5cf0_stepless_fan_level: Entity state updated: 59
2024-12-13 11:13:07.531 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] button.zhimi_za4_5cf0_info: Entity state updated: Ventilator
2024-12-13 11:13:07.531 DEBUG (MainThread) [custom_components.xiaomi_miot.core.device.zhimi.fan.za4] Finished fetching 58:b6:23:31:5c:f0-58f06294d11d346a1c4710e9503054eb-miot_status data in 2.169 seconds (success: True)
2024-12-13 11:13:07.531 DEBUG (MainThread) [custom_components.xiaomi_miot.core.coordinator] Ventilator(zhimi.fan.za4): Coordinator updated: ['58:b6:23:31:5c:f0-58f06294d11d346a1c4710e9503054eb-miot_status', <custom_components.xiaomi_miot.core.miot_spec.MiotResults object at 0x7f54067cb0>]
2024-12-13 11:13:07.531 DEBUG (MainThread) [custom_components.xiaomi_miot.core.device.zhimi.fan.za4] Ventilator Fan: Got new state: {'state_updater': 'local', 'indicator_light.brightness': True, 'alarm': False, 'physical_controls_locked': False, 'fan.on': False, 'fan.fan_level': 59, 'fan.horizontal_swing': True, 'horizontal_swing_included_angle-2-4': 60, 'fan.mode': 1, 'fan-2.stepless_fan_level': 59}
2024-12-13 11:13:10.147 INFO (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Device write data: [{'air_fryer.start_cook': None}, {'method': 'action', 'param': {'did': '593341113', 'siid': 2, 'aiid': 1, 'in': []}}]
2024-12-13 11:13:10.291 INFO (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Device write result: [{'air_fryer.start_cook': None}, {'code': 0, 'out': []}]
2024-12-13 11:13:10.291 INFO (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Device updated: {'air_fryer.start_cook': None}
2024-12-13 11:13:10.291 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] button.careli_maf05a_53b4_start_cook: Entity state updated: None
2024-12-13 11:13:10.471 DEBUG (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Update miot status: {'use_local': [True, True, <MiotDevice: 192.168.178.168 (token: fb7ca32b3bc2432d8af680b62c765b09)>], 'use_cloud': [False, False], 'mapping': {'air_fryer.status': {'siid': 2, 'piid': 1}, 'air_fryer.target_time': {'siid': 2, 'piid': 3}, 'air_fryer.target_temperature': {'siid': 2, 'piid': 4}, 'air_fryer.left_time': {'siid': 2, 'piid': 5}}}
2024-12-13 11:13:10.744 INFO (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Device updated: {'air_fryer.status': 'cooking', 'air_fryer.target_time': 5, 'air_fryer.target_temperature': 77, 'air_fryer.left_time': 5}
2024-12-13 11:13:10.744 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] sensor.careli_maf05a_53b4_status: Entity state updated: cooking
2024-12-13 11:13:10.744 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] sensor.careli_maf05a_53b4_left_time: Entity state updated: 5
2024-12-13 11:13:10.744 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] number.careli_maf05a_53b4_target_time: Entity state updated: 5
2024-12-13 11:13:10.744 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] number.careli_maf05a_53b4_target_temperature: Entity state updated: 77
2024-12-13 11:13:10.745 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] button.careli_maf05a_53b4_info: Entity state updated: Heißluft-Fritteuse
2024-12-13 11:13:10.745 DEBUG (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Finished fetching cc:b5:d1:89:53:b4-58f06294d11d346a1c4710e9503054eb-chunk_1 data in 0.274 seconds (success: True)
2024-12-13 11:13:10.745 DEBUG (MainThread) [custom_components.xiaomi_miot.core.coordinator] Heißluft-Fritteuse(careli.fryer.maf05a): Coordinator updated: ['cc:b5:d1:89:53:b4-58f06294d11d346a1c4710e9503054eb-chunk_1', <custom_components.xiaomi_miot.core.miot_spec.MiotResults object at 0x7f54067000>]
2024-12-13 11:13:13.880 INFO (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Device write data: [{'air_fryer.cancel_cooking': None}, {'method': 'action', 'param': {'did': '593341113', 'siid': 2, 'aiid': 2, 'in': []}}]
2024-12-13 11:13:14.122 INFO (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Device write result: [{'air_fryer.cancel_cooking': None}, {'code': 0, 'out': []}]
2024-12-13 11:13:14.122 INFO (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Device updated: {'air_fryer.cancel_cooking': None}
2024-12-13 11:13:14.122 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] button.careli_maf05a_53b4_cancel_cooking: Entity state updated: None
2024-12-13 11:13:16.358 DEBUG (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Update miot status: {'use_local': [True, True, <MiotDevice: 192.168.178.168 (token: fb7ca32b3bc2432d8af680b62c765b09)>], 'use_cloud': [False, False], 'mapping': {'custom.appoint_time': {'siid': 3, 'piid': 5}, 'air_fryer.fault': {'siid': 2, 'piid': 2}}}
2024-12-13 11:13:16.577 INFO (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Device updated: {'custom.appoint_time': 0, 'air_fryer.fault': 'No Faults'}
2024-12-13 11:13:16.577 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] sensor.careli_maf05a_53b4_status: Entity state updated: None
2024-12-13 11:13:16.577 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] number.careli_maf05a_53b4_appoint_time: Entity state updated: 0
2024-12-13 11:13:16.578 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] button.careli_maf05a_53b4_info: Entity state updated: Heißluft-Fritteuse
2024-12-13 11:13:16.578 DEBUG (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Finished fetching cc:b5:d1:89:53:b4-58f06294d11d346a1c4710e9503054eb-chunk_2 data in 0.220 seconds (success: True)
2024-12-13 11:13:16.578 DEBUG (MainThread) [custom_components.xiaomi_miot.core.coordinator] Heißluft-Fritteuse(careli.fryer.maf05a): Coordinator updated: ['cc:b5:d1:89:53:b4-58f06294d11d346a1c4710e9503054eb-chunk_2', <custom_components.xiaomi_miot.core.miot_spec.MiotResults object at 0x7f54a4f310>]
2024-12-13 11:13:20.465 DEBUG (MainThread) [custom_components.xiaomi_miot.core.xiaomi_cloud] Request miot api: scene/history {'home_id': 926001045317, 'uid': 8178887220, 'owner_uid': 8178887220, 'command': 'history', 'limit': 15} result: bytearray(b'{"code":0,"message":"\xe6\x88\x90\xe5\x8a\x9f","result":{"history":[]}}')
2024-12-13 11:13:20.465 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Finished fetching xiaomi_miot-mihome-scene-history-8178887220_926001045317 data in 0.092 seconds (success: True)
2024-12-13 11:13:20.563 DEBUG (MainThread) [custom_components.xiaomi_miot.core.xiaomi_cloud] Request miot api: v2/message/v2/typelist {} result: bytearray(b'{"code":0,"message":"ok","result":{"messages":null}}')
2024-12-13 11:13:20.563 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Finished fetching xiaomi_miot-mihome-message-8178887220 data in 0.046 seconds (success: True)
2024-12-13 11:15:50.421 DEBUG (MainThread) [custom_components.xiaomi_miot.core.xiaomi_cloud] Request miot api: scene/history {'home_id': 926001045317, 'uid': 8178887220, 'owner_uid': 8178887220, 'command': 'history', 'limit': 15} result: bytearray(b'{"code":0,"message":"\xe6\x88\x90\xe5\x8a\x9f","result":{"history":[]}}')
2024-12-13 11:15:50.421 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Finished fetching xiaomi_miot-mihome-scene-history-8178887220_926001045317 data in 0.048 seconds (success: True)
2024-12-13 11:15:50.472 DEBUG (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Update miot status: {'use_local': [True, True, <MiotDevice: 192.168.178.168 (token: fb7ca32b3bc2432d8af680b62c765b09)>], 'use_cloud': [False, False], 'mapping': {'air_fryer.status': {'siid': 2, 'piid': 1}, 'air_fryer.target_time': {'siid': 2, 'piid': 3}, 'air_fryer.target_temperature': {'siid': 2, 'piid': 4}, 'air_fryer.left_time': {'siid': 2, 'piid': 5}}}
2024-12-13 11:15:50.565 DEBUG (MainThread) [custom_components.xiaomi_miot.core.xiaomi_cloud] Request miot api: v2/message/v2/typelist {} result: bytearray(b'{"code":0,"message":"ok","result":{"messages":null}}')
2024-12-13 11:15:50.565 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Finished fetching xiaomi_miot-mihome-message-8178887220 data in 0.048 seconds (success: True)
2024-12-13 11:15:50.755 INFO (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Device updated: {'air_fryer.status': 'standby', 'air_fryer.target_time': 5, 'air_fryer.target_temperature': 77, 'air_fryer.left_time': 5}
2024-12-13 11:15:50.755 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] sensor.careli_maf05a_53b4_status: Entity state updated: standby
2024-12-13 11:15:50.755 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] sensor.careli_maf05a_53b4_left_time: Entity state updated: 5
2024-12-13 11:15:50.755 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] number.careli_maf05a_53b4_target_time: Entity state updated: 5
2024-12-13 11:15:50.755 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] number.careli_maf05a_53b4_target_temperature: Entity state updated: 77
2024-12-13 11:15:50.756 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] button.careli_maf05a_53b4_info: Entity state updated: Heißluft-Fritteuse
2024-12-13 11:15:50.756 DEBUG (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Finished fetching cc:b5:d1:89:53:b4-58f06294d11d346a1c4710e9503054eb-chunk_1 data in 0.284 seconds (success: True)
2024-12-13 11:15:50.756 DEBUG (MainThread) [custom_components.xiaomi_miot.core.coordinator] Heißluft-Fritteuse(careli.fryer.maf05a): Coordinator updated: ['cc:b5:d1:89:53:b4-58f06294d11d346a1c4710e9503054eb-chunk_1', <custom_components.xiaomi_miot.core.miot_spec.MiotResults object at 0x7f52b4edd0>]
2024-12-13 11:16:05.368 DEBUG (MainThread) [custom_components.xiaomi_miot.core.device.zhimi.fan.za4] Update miot status: {'use_local': [True, True, <MiotDevice: 192.168.178.88 (token: 3ea12ff335106c3a30fbff9f255d16ef)>], 'use_cloud': [False, False], 'mapping': {'countdown.countdown_time': {'siid': 6, 'piid': 1}, 'indicator_light.brightness': {'siid': 5, 'piid': 1}, 'alarm': {'siid': 4, 'piid': 1}, 'physical_controls_locked': {'siid': 3, 'piid': 1}, 'fan.on': {'siid': 2, 'piid': 1}, 'fan.fan_level': {'siid': 2, 'piid': 2}, 'fan.horizontal_swing': {'siid': 2, 'piid': 3}, 'horizontal_swing_included_angle-2-4': {'siid': 2, 'piid': 4}, 'fan.mode': {'siid': 2, 'piid': 5}, 'fan-2.stepless_fan_level': {'siid': 2, 'piid': 6}}}
2024-12-13 11:16:05.421 DEBUG (MainThread) [custom_components.xiaomi_miot.core.xiaomi_cloud] Request miot api: scene/history {'home_id': 926001045317, 'uid': 8178887220, 'owner_uid': 8178887220, 'command': 'history', 'limit': 15} result: bytearray(b'{"code":0,"message":"\xe6\x88\x90\xe5\x8a\x9f","result":{"history":[]}}')
2024-12-13 11:16:05.421 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Finished fetching xiaomi_miot-mihome-scene-history-8178887220_926001045317 data in 0.048 seconds (success: True)
2024-12-13 11:16:05.565 DEBUG (MainThread) [custom_components.xiaomi_miot.core.xiaomi_cloud] Request miot api: v2/message/v2/typelist {} result: bytearray(b'{"code":0,"message":"ok","result":{"messages":null}}')
2024-12-13 11:16:05.565 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Finished fetching xiaomi_miot-mihome-message-8178887220 data in 0.048 seconds (success: True)
2024-12-13 11:16:07.436 INFO (SyncWorker_53) [custom_components.xiaomi_miot.core.miio2miot] zhimi.fan.za4: Got miio props for miot: {'power': 'off', 'speed_level': 59, 'angle_enable': 'on', 'angle': 60, 'natural_level': 59, 'child_lock': 'off', 'buzzer': 0, 'led_b': 2}
2024-12-13 11:16:07.447 INFO (MainThread) [custom_components.xiaomi_miot.core.device.zhimi.fan.za4] Device updated: {'indicator_light.brightness': True, 'alarm': False, 'physical_controls_locked': False, 'fan.fan_level': 59, 'fan.horizontal_swing': True, 'fan-2.stepless_fan_level': 59}
2024-12-13 11:16:07.447 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] switch.zhimi_za4_5cf0_physical_control_locked: Entity state updated: False
2024-12-13 11:16:07.447 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] switch.zhimi_za4_5cf0_horizontal_swing: Entity state updated: True
2024-12-13 11:16:07.447 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] switch.zhimi_za4_5cf0_alarm: Entity state updated: False
2024-12-13 11:16:07.447 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] number.zhimi_za4_5cf0_gear_fan_level: Entity state updated: 59
2024-12-13 11:16:07.447 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] number.zhimi_za4_5cf0_stepless_fan_level: Entity state updated: 59
2024-12-13 11:16:07.448 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] button.zhimi_za4_5cf0_info: Entity state updated: Ventilator
2024-12-13 11:16:07.448 DEBUG (MainThread) [custom_components.xiaomi_miot.core.device.zhimi.fan.za4] Finished fetching 58:b6:23:31:5c:f0-58f06294d11d346a1c4710e9503054eb-miot_status data in 2.080 seconds (success: True)
2024-12-13 11:16:07.448 DEBUG (MainThread) [custom_components.xiaomi_miot.core.coordinator] Ventilator(zhimi.fan.za4): Coordinator updated: ['58:b6:23:31:5c:f0-58f06294d11d346a1c4710e9503054eb-miot_status', <custom_components.xiaomi_miot.core.miot_spec.MiotResults object at 0x7f54067d20>]
2024-12-13 11:16:07.448 DEBUG (MainThread) [custom_components.xiaomi_miot.core.device.zhimi.fan.za4] Ventilator Fan: Got new state: {'state_updater': 'local', 'indicator_light.brightness': True, 'alarm': False, 'physical_controls_locked': False, 'fan.on': False, 'fan.fan_level': 59, 'fan.horizontal_swing': True, 'horizontal_swing_included_angle-2-4': 60, 'fan.mode': 1, 'fan-2.stepless_fan_level': 59}
2024-12-13 11:16:10.472 DEBUG (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Update miot status: {'use_local': [True, True, <MiotDevice: 192.168.178.168 (token: fb7ca32b3bc2432d8af680b62c765b09)>], 'use_cloud': [False, False], 'mapping': {'air_fryer.status': {'siid': 2, 'piid': 1}, 'air_fryer.target_time': {'siid': 2, 'piid': 3}, 'air_fryer.target_temperature': {'siid': 2, 'piid': 4}, 'air_fryer.left_time': {'siid': 2, 'piid': 5}}}
2024-12-13 11:16:10.736 INFO (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Device updated: {'air_fryer.status': 'standby', 'air_fryer.target_time': 5, 'air_fryer.target_temperature': 77, 'air_fryer.left_time': 5}
2024-12-13 11:16:10.736 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] sensor.careli_maf05a_53b4_status: Entity state updated: standby
2024-12-13 11:16:10.736 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] sensor.careli_maf05a_53b4_left_time: Entity state updated: 5
2024-12-13 11:16:10.736 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] number.careli_maf05a_53b4_target_time: Entity state updated: 5
2024-12-13 11:16:10.736 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] number.careli_maf05a_53b4_target_temperature: Entity state updated: 77
2024-12-13 11:16:10.737 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] button.careli_maf05a_53b4_info: Entity state updated: Heißluft-Fritteuse
2024-12-13 11:16:10.737 DEBUG (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Finished fetching cc:b5:d1:89:53:b4-58f06294d11d346a1c4710e9503054eb-chunk_1 data in 0.265 seconds (success: True)
2024-12-13 11:16:10.737 DEBUG (MainThread) [custom_components.xiaomi_miot.core.coordinator] Heißluft-Fritteuse(careli.fryer.maf05a): Coordinator updated: ['cc:b5:d1:89:53:b4-58f06294d11d346a1c4710e9503054eb-chunk_1', <custom_components.xiaomi_miot.core.miot_spec.MiotResults object at 0x7f5dedacf0>]
2024-12-13 11:16:11.358 DEBUG (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Update miot status: {'use_local': [True, True, <MiotDevice: 192.168.178.168 (token: fb7ca32b3bc2432d8af680b62c765b09)>], 'use_cloud': [False, False], 'mapping': {'custom.appoint_time': {'siid': 3, 'piid': 5}, 'air_fryer.fault': {'siid': 2, 'piid': 2}}}
2024-12-13 11:16:11.580 INFO (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Device updated: {'custom.appoint_time': 0, 'air_fryer.fault': 'No Faults'}
2024-12-13 11:16:11.581 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] sensor.careli_maf05a_53b4_status: Entity state updated: None
2024-12-13 11:16:11.581 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] number.careli_maf05a_53b4_appoint_time: Entity state updated: 0
2024-12-13 11:16:11.581 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] button.careli_maf05a_53b4_info: Entity state updated: Heißluft-Fritteuse
2024-12-13 11:16:11.581 DEBUG (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Finished fetching cc:b5:d1:89:53:b4-58f06294d11d346a1c4710e9503054eb-chunk_2 data in 0.224 seconds (success: True)
2024-12-13 11:16:11.581 DEBUG (MainThread) [custom_components.xiaomi_miot.core.coordinator] Heißluft-Fritteuse(careli.fryer.maf05a): Coordinator updated: ['cc:b5:d1:89:53:b4-58f06294d11d346a1c4710e9503054eb-chunk_2', <custom_components.xiaomi_miot.core.miot_spec.MiotResults object at 0x7f615e5400>]
2024-12-13 11:16:20.425 DEBUG (MainThread) [custom_components.xiaomi_miot.core.xiaomi_cloud] Request miot api: scene/history {'home_id': 926001045317, 'uid': 8178887220, 'owner_uid': 8178887220, 'command': 'history', 'limit': 15} result: bytearray(b'{"code":0,"message":"\xe6\x88\x90\xe5\x8a\x9f","result":{"history":[]}}')
2024-12-13 11:16:20.425 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Finished fetching xiaomi_miot-mihome-scene-history-8178887220_926001045317 data in 0.052 seconds (success: True)
2024-12-13 11:16:20.562 DEBUG (MainThread) [custom_components.xiaomi_miot.core.xiaomi_cloud] Request miot api: v2/message/v2/typelist {} result: bytearray(b'{"code":0,"message":"ok","result":{"messages":null}}')
2024-12-13 11:16:20.562 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Finished fetching xiaomi_miot-mihome-message-8178887220 data in 0.045 seconds (success: True)
2024-12-13 11:16:30.472 DEBUG (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Update miot status: {'use_local': [True, True, <MiotDevice: 192.168.178.168 (token: fb7ca32b3bc2432d8af680b62c765b09)>], 'use_cloud': [False, False], 'mapping': {'air_fryer.status': {'siid': 2, 'piid': 1}, 'air_fryer.target_time': {'siid': 2, 'piid': 3}, 'air_fryer.target_temperature': {'siid': 2, 'piid': 4}, 'air_fryer.left_time': {'siid': 2, 'piid': 5}}}
2024-12-13 11:16:30.799 INFO (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Device updated: {'air_fryer.status': 'standby', 'air_fryer.target_time': 5, 'air_fryer.target_temperature': 77, 'air_fryer.left_time': 5}
2024-12-13 11:16:30.800 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] sensor.careli_maf05a_53b4_status: Entity state updated: standby
2024-12-13 11:16:30.800 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] sensor.careli_maf05a_53b4_left_time: Entity state updated: 5
2024-12-13 11:16:30.800 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] number.careli_maf05a_53b4_target_time: Entity state updated: 5
2024-12-13 11:16:30.800 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] number.careli_maf05a_53b4_target_temperature: Entity state updated: 77
2024-12-13 11:16:30.800 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] button.careli_maf05a_53b4_info: Entity state updated: Heißluft-Fritteuse
2024-12-13 11:16:30.801 DEBUG (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Finished fetching cc:b5:d1:89:53:b4-58f06294d11d346a1c4710e9503054eb-chunk_1 data in 0.329 seconds (success: True)
2024-12-13 11:16:30.801 DEBUG (MainThread) [custom_components.xiaomi_miot.core.coordinator] Heißluft-Fritteuse(careli.fryer.maf05a): Coordinator updated: ['cc:b5:d1:89:53:b4-58f06294d11d346a1c4710e9503054eb-chunk_1', <custom_components.xiaomi_miot.core.miot_spec.MiotResults object at 0x7f5443b310>]
2024-12-13 11:16:35.368 DEBUG (MainThread) [custom_components.xiaomi_miot.core.device.zhimi.fan.za4] Update miot status: {'use_local': [True, True, <MiotDevice: 192.168.178.88 (token: 3ea12ff335106c3a30fbff9f255d16ef)>], 'use_cloud': [False, False], 'mapping': {'countdown.countdown_time': {'siid': 6, 'piid': 1}, 'indicator_light.brightness': {'siid': 5, 'piid': 1}, 'alarm': {'siid': 4, 'piid': 1}, 'physical_controls_locked': {'siid': 3, 'piid': 1}, 'fan.on': {'siid': 2, 'piid': 1}, 'fan.fan_level': {'siid': 2, 'piid': 2}, 'fan.horizontal_swing': {'siid': 2, 'piid': 3}, 'horizontal_swing_included_angle-2-4': {'siid': 2, 'piid': 4}, 'fan.mode': {'siid': 2, 'piid': 5}, 'fan-2.stepless_fan_level': {'siid': 2, 'piid': 6}}}
2024-12-13 11:16:35.565 DEBUG (MainThread) [custom_components.xiaomi_miot.core.xiaomi_cloud] Request miot api: v2/message/v2/typelist {} result: bytearray(b'{"code":0,"message":"ok","result":{"messages":null}}')
2024-12-13 11:16:35.565 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Finished fetching xiaomi_miot-mihome-message-8178887220 data in 0.048 seconds (success: True)
2024-12-13 11:16:35.568 DEBUG (MainThread) [custom_components.xiaomi_miot.core.xiaomi_cloud] Request miot api: scene/history {'home_id': 926001045317, 'uid': 8178887220, 'owner_uid': 8178887220, 'command': 'history', 'limit': 15} result: bytearray(b'{"code":0,"message":"\xe6\x88\x90\xe5\x8a\x9f","result":{"history":[]}}')
2024-12-13 11:16:35.568 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Finished fetching xiaomi_miot-mihome-scene-history-8178887220_926001045317 data in 0.196 seconds (success: True)
2024-12-13 11:16:37.273 INFO (SyncWorker_19) [custom_components.xiaomi_miot.core.miio2miot] zhimi.fan.za4: Got miio props for miot: {'power': 'off', 'speed_level': 59, 'angle_enable': 'on', 'angle': 60, 'natural_level': 59, 'child_lock': 'off', 'buzzer': 0, 'led_b': 2}
2024-12-13 11:16:37.286 INFO (MainThread) [custom_components.xiaomi_miot.core.device.zhimi.fan.za4] Device updated: {'indicator_light.brightness': True, 'alarm': False, 'physical_controls_locked': False, 'fan.fan_level': 59, 'fan.horizontal_swing': True, 'fan-2.stepless_fan_level': 59}
2024-12-13 11:16:37.286 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] switch.zhimi_za4_5cf0_physical_control_locked: Entity state updated: False
2024-12-13 11:16:37.286 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] switch.zhimi_za4_5cf0_horizontal_swing: Entity state updated: True
2024-12-13 11:16:37.286 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] switch.zhimi_za4_5cf0_alarm: Entity state updated: False
2024-12-13 11:16:37.286 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] number.zhimi_za4_5cf0_gear_fan_level: Entity state updated: 59
2024-12-13 11:16:37.286 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] number.zhimi_za4_5cf0_stepless_fan_level: Entity state updated: 59
2024-12-13 11:16:37.286 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] button.zhimi_za4_5cf0_info: Entity state updated: Ventilator
2024-12-13 11:16:37.286 DEBUG (MainThread) [custom_components.xiaomi_miot.core.device.zhimi.fan.za4] Finished fetching 58:b6:23:31:5c:f0-58f06294d11d346a1c4710e9503054eb-miot_status data in 1.918 seconds (success: True)
2024-12-13 11:16:37.286 DEBUG (MainThread) [custom_components.xiaomi_miot.core.coordinator] Ventilator(zhimi.fan.za4): Coordinator updated: ['58:b6:23:31:5c:f0-58f06294d11d346a1c4710e9503054eb-miot_status', <custom_components.xiaomi_miot.core.miot_spec.MiotResults object at 0x7f54067000>]
2024-12-13 11:16:37.287 DEBUG (MainThread) [custom_components.xiaomi_miot.core.device.zhimi.fan.za4] Ventilator Fan: Got new state: {'state_updater': 'local', 'indicator_light.brightness': True, 'alarm': False, 'physical_controls_locked': False, 'fan.on': False, 'fan.fan_level': 59, 'fan.horizontal_swing': True, 'horizontal_swing_included_angle-2-4': 60, 'fan.mode': 1, 'fan-2.stepless_fan_level': 59}
2024-12-13 11:16:45.315 DEBUG (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Update miot status: {'use_local': [True, True, <MiotDevice: 192.168.178.168 (token: fb7ca32b3bc2432d8af680b62c765b09)>], 'use_cloud': [False, False], 'mapping': {'custom.food_quanty': {'siid': 3, 'piid': 6}, 'custom.preheat_switch': {'siid': 3, 'piid': 7}, 'custom.appoint_time_left': {'siid': 3, 'piid': 8}, 'custom.turn_pot': {'siid': 3, 'piid': 10}, 'custom.turn_pot_cfg': {'siid': 3, 'piid': 11}}}
2024-12-13 11:16:45.570 INFO (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Device updated: {'custom.food_quanty': 'Null', 'custom.preheat_switch': 'Off', 'custom.appoint_time_left': 0, 'custom.turn_pot': 'Not Turn Pot', 'custom.turn_pot_cfg': 1}
2024-12-13 11:16:45.570 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] sensor.careli_maf05a_53b4_appoint_time_left: Entity state updated: 0
2024-12-13 11:16:45.570 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] switch.careli_maf05a_53b4_turn_pot_cfg: Entity state updated: 1
2024-12-13 11:16:45.571 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] select.careli_maf05a_53b4_food_quanty: Entity state updated: Null
2024-12-13 11:16:45.571 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] select.careli_maf05a_53b4_preheat_switch: Entity state updated: Off
2024-12-13 11:16:45.571 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] select.careli_maf05a_53b4_turn_pot: Entity state updated: Not Turn Pot
2024-12-13 11:16:45.571 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] button.careli_maf05a_53b4_info: Entity state updated: Heißluft-Fritteuse
2024-12-13 11:16:45.571 DEBUG (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Finished fetching cc:b5:d1:89:53:b4-58f06294d11d346a1c4710e9503054eb-miot_status data in 0.256 seconds (success: True)
2024-12-13 11:16:45.571 DEBUG (MainThread) [custom_components.xiaomi_miot.core.coordinator] Heißluft-Fritteuse(careli.fryer.maf05a): Coordinator updated: ['cc:b5:d1:89:53:b4-58f06294d11d346a1c4710e9503054eb-miot_status', <custom_components.xiaomi_miot.core.miot_spec.MiotResults object at 0x7f51101e80>]
2024-12-13 11:16:46.358 DEBUG (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Update miot status: {'use_local': [True, True, <MiotDevice: 192.168.178.168 (token: fb7ca32b3bc2432d8af680b62c765b09)>], 'use_cloud': [False, False], 'mapping': {'custom.appoint_time': {'siid': 3, 'piid': 5}, 'air_fryer.fault': {'siid': 2, 'piid': 2}}}
2024-12-13 11:16:46.594 INFO (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Device updated: {'custom.appoint_time': 0, 'air_fryer.fault': 'No Faults'}
2024-12-13 11:16:46.594 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] sensor.careli_maf05a_53b4_status: Entity state updated: None
2024-12-13 11:16:46.595 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] number.careli_maf05a_53b4_appoint_time: Entity state updated: 0
2024-12-13 11:16:46.595 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] button.careli_maf05a_53b4_info: Entity state updated: Heißluft-Fritteuse
2024-12-13 11:16:46.595 DEBUG (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Finished fetching cc:b5:d1:89:53:b4-58f06294d11d346a1c4710e9503054eb-chunk_2 data in 0.238 seconds (success: True)
2024-12-13 11:16:46.595 DEBUG (MainThread) [custom_components.xiaomi_miot.core.coordinator] Heißluft-Fritteuse(careli.fryer.maf05a): Coordinator updated: ['cc:b5:d1:89:53:b4-58f06294d11d346a1c4710e9503054eb-chunk_2', <custom_components.xiaomi_miot.core.miot_spec.MiotResults object at 0x7f5f4a0440>]
2024-12-13 11:16:50.425 DEBUG (MainThread) [custom_components.xiaomi_miot.core.xiaomi_cloud] Request miot api: scene/history {'home_id': 926001045317, 'uid': 8178887220, 'owner_uid': 8178887220, 'command': 'history', 'limit': 15} result: bytearray(b'{"code":0,"message":"\xe6\x88\x90\xe5\x8a\x9f","result":{"history":[]}}')
2024-12-13 11:16:50.425 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Finished fetching xiaomi_miot-mihome-scene-history-8178887220_926001045317 data in 0.051 seconds (success: True)
2024-12-13 11:16:50.472 DEBUG (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Update miot status: {'use_local': [True, True, <MiotDevice: 192.168.178.168 (token: fb7ca32b3bc2432d8af680b62c765b09)>], 'use_cloud': [False, False], 'mapping': {'air_fryer.status': {'siid': 2, 'piid': 1}, 'air_fryer.target_time': {'siid': 2, 'piid': 3}, 'air_fryer.target_temperature': {'siid': 2, 'piid': 4}, 'air_fryer.left_time': {'siid': 2, 'piid': 5}}}
2024-12-13 11:16:50.562 DEBUG (MainThread) [custom_components.xiaomi_miot.core.xiaomi_cloud] Request miot api: v2/message/v2/typelist {} result: bytearray(b'{"code":0,"message":"ok","result":{"messages":null}}')
2024-12-13 11:16:50.562 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Finished fetching xiaomi_miot-mihome-message-8178887220 data in 0.045 seconds (success: True)
2024-12-13 11:16:50.775 INFO (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Device updated: {'air_fryer.status': 'standby', 'air_fryer.target_time': 5, 'air_fryer.target_temperature': 77, 'air_fryer.left_time': 5}
2024-12-13 11:16:50.775 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] sensor.careli_maf05a_53b4_status: Entity state updated: standby
2024-12-13 11:16:50.775 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] sensor.careli_maf05a_53b4_left_time: Entity state updated: 5
2024-12-13 11:16:50.775 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] number.careli_maf05a_53b4_target_time: Entity state updated: 5
2024-12-13 11:16:50.775 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] number.careli_maf05a_53b4_target_temperature: Entity state updated: 77
2024-12-13 11:16:50.776 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] button.careli_maf05a_53b4_info: Entity state updated: Heißluft-Fritteuse
2024-12-13 11:16:50.776 DEBUG (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Finished fetching cc:b5:d1:89:53:b4-58f06294d11d346a1c4710e9503054eb-chunk_1 data in 0.304 seconds (success: True)
2024-12-13 11:16:50.776 DEBUG (MainThread) [custom_components.xiaomi_miot.core.coordinator] Heißluft-Fritteuse(careli.fryer.maf05a): Coordinator updated: ['cc:b5:d1:89:53:b4-58f06294d11d346a1c4710e9503054eb-chunk_1', <custom_components.xiaomi_miot.core.miot_spec.MiotResults object at 0x7f589cbe00>]

al-one added a commit that referenced this issue Dec 13, 2024
@al-one
Copy link
Owner

al-one commented Dec 13, 2024

Now auto_cloud is disabled for it.

@ocean90
Copy link

ocean90 commented Dec 13, 2024

Unfortunately, nothing has changed. :( I double-checked and I have the change from 757d12f installed.

Debug log
2024-12-13 11:36:43.955 WARNING (MainThread) [custom_components.xiaomi_miot.sensor] Get xiaomi scene history for 8178887220 926001045317 failed: {'code': 0, 'message': '成功', 'result': {'history': []}}
2024-12-13 11:47:09.639 WARNING (MainThread) [custom_components.xiaomi_miot.sensor] Get xiaomi scene history for 8178887220 926001045317 failed: {'code': 0, 'message': '成功', 'result': {'history': []}}
2024-12-13 11:47:09.870 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'xiaomi_miot' uses `async_config_entry_first_refresh`, which is only supported when entry state is ConfigEntryState.SETUP_IN_PROGRESS, but it is in state ConfigEntryState.LOADED at custom_components/xiaomi_miot/core/device.py, line 442: await coo.async_config_entry_first_refresh(). This will stop working in Home Assistant 2025.11, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-12-13 11:49:38.817 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [546941053984] Error handling message: Unknown error (unknown_error) Dominik from 2001:4dd5:b6b:0:31c2:7929:5a33:73da (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36)
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 28, in _handle_async_response
    await func(hass, connection, msg)
  File "/usr/src/homeassistant/homeassistant/components/config/device_registry.py", line 134, in websocket_remove_config_entry_from_device
    if not await component.async_remove_config_entry_device(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        hass, config_entry, device_entry
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ):
    ^
  File "/config/custom_components/xiaomi_miot/__init__.py", line 599, in async_remove_config_entry_device
    data[f'{typ}_list'] = lst
    ~~~~^^^^^^^^^^^^^^^
TypeError: 'mappingproxy' object does not support item assignment
2024-12-13 11:50:49.561 DEBUG (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Update miot status: {'use_local': [True, True, <MiotDevice: 192.168.178.168 (token: fb7ca32b3bc2432d8af680b62c765b09)>], 'use_cloud': [False, False], 'mapping': {'air_fryer.status': {'siid': 2, 'piid': 1}, 'air_fryer.target_time': {'siid': 2, 'piid': 3}, 'air_fryer.target_temperature': {'siid': 2, 'piid': 4}, 'air_fryer.left_time': {'siid': 2, 'piid': 5}}}
2024-12-13 11:50:49.879 INFO (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Device updated: {'air_fryer.status': 'standby', 'air_fryer.target_time': 5, 'air_fryer.target_temperature': 77, 'air_fryer.left_time': 5}
2024-12-13 11:50:49.880 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] sensor.careli_maf05a_53b4_status: Entity state updated: standby
2024-12-13 11:50:49.880 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] sensor.careli_maf05a_53b4_left_time: Entity state updated: 5
2024-12-13 11:50:49.880 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] number.careli_maf05a_53b4_target_time: Entity state updated: 5
2024-12-13 11:50:49.880 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] number.careli_maf05a_53b4_target_temperature: Entity state updated: 77
2024-12-13 11:50:49.880 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] button.careli_maf05a_53b4_info: Entity state updated: Heißluft-Fritteuse
2024-12-13 11:50:49.880 DEBUG (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Finished fetching cc:b5:d1:89:53:b4-58f06294d11d346a1c4710e9503054eb-chunk_1 data in 0.320 seconds (success: True)
2024-12-13 11:50:49.880 DEBUG (MainThread) [custom_components.xiaomi_miot.core.coordinator] Heißluft-Fritteuse(careli.fryer.maf05a): Coordinator updated: ['cc:b5:d1:89:53:b4-58f06294d11d346a1c4710e9503054eb-chunk_1', <custom_components.xiaomi_miot.core.miot_spec.MiotResults object at 0x7f58a5d8d0>]
2024-12-13 11:50:54.341 DEBUG (MainThread) [custom_components.xiaomi_miot.core.xiaomi_cloud] Request miot api: v2/message/v2/typelist {} result: bytearray(b'{"code":0,"message":"ok","result":{"messages":null}}')
2024-12-13 11:50:54.341 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Finished fetching xiaomi_miot-mihome-message-8178887220 data in 0.038 seconds (success: True)
2024-12-13 11:50:54.393 DEBUG (MainThread) [custom_components.xiaomi_miot.core.xiaomi_cloud] Request miot api: scene/history {'home_id': 926001045317, 'uid': 8178887220, 'owner_uid': 8178887220, 'command': 'history', 'limit': 15} result: bytearray(b'{"code":0,"message":"\xe6\x88\x90\xe5\x8a\x9f","result":{"history":[]}}')
2024-12-13 11:50:54.393 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Finished fetching xiaomi_miot-mihome-scene-history-8178887220_926001045317 data in 0.050 seconds (success: True)
2024-12-13 11:51:09.349 DEBUG (MainThread) [custom_components.xiaomi_miot.core.xiaomi_cloud] Request miot api: v2/message/v2/typelist {} result: bytearray(b'{"code":0,"message":"ok","result":{"messages":null}}')
2024-12-13 11:51:09.349 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Finished fetching xiaomi_miot-mihome-message-8178887220 data in 0.046 seconds (success: True)
2024-12-13 11:51:09.511 DEBUG (MainThread) [custom_components.xiaomi_miot.core.xiaomi_cloud] Request miot api: scene/history {'home_id': 926001045317, 'uid': 8178887220, 'owner_uid': 8178887220, 'command': 'history', 'limit': 15} result: bytearray(b'{"code":0,"message":"\xe6\x88\x90\xe5\x8a\x9f","result":{"history":[]}}')
2024-12-13 11:51:09.511 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Finished fetching xiaomi_miot-mihome-scene-history-8178887220_926001045317 data in 0.169 seconds (success: True)
2024-12-13 11:51:09.561 DEBUG (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Update miot status: {'use_local': [True, True, <MiotDevice: 192.168.178.168 (token: fb7ca32b3bc2432d8af680b62c765b09)>], 'use_cloud': [False, False], 'mapping': {'air_fryer.status': {'siid': 2, 'piid': 1}, 'air_fryer.target_time': {'siid': 2, 'piid': 3}, 'air_fryer.target_temperature': {'siid': 2, 'piid': 4}, 'air_fryer.left_time': {'siid': 2, 'piid': 5}}}
2024-12-13 11:51:09.574 DEBUG (MainThread) [custom_components.xiaomi_miot.core.device.zhimi.fan.za4] Update miot status: {'use_local': [True, True, <MiotDevice: 192.168.178.88 (token: 3ea12ff335106c3a30fbff9f255d16ef)>], 'use_cloud': [False, False], 'mapping': {'countdown.countdown_time': {'siid': 6, 'piid': 1}, 'indicator_light.brightness': {'siid': 5, 'piid': 1}, 'alarm': {'siid': 4, 'piid': 1}, 'physical_controls_locked': {'siid': 3, 'piid': 1}, 'fan.on': {'siid': 2, 'piid': 1}, 'fan.fan_level': {'siid': 2, 'piid': 2}, 'fan.horizontal_swing': {'siid': 2, 'piid': 3}, 'horizontal_swing_included_angle-2-4': {'siid': 2, 'piid': 4}, 'fan.mode': {'siid': 2, 'piid': 5}, 'fan-2.stepless_fan_level': {'siid': 2, 'piid': 6}}}
2024-12-13 11:51:09.843 INFO (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Device updated: {'air_fryer.status': 'standby', 'air_fryer.target_time': 5, 'air_fryer.target_temperature': 77, 'air_fryer.left_time': 5}
2024-12-13 11:51:09.843 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] sensor.careli_maf05a_53b4_status: Entity state updated: standby
2024-12-13 11:51:09.843 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] sensor.careli_maf05a_53b4_left_time: Entity state updated: 5
2024-12-13 11:51:09.843 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] number.careli_maf05a_53b4_target_time: Entity state updated: 5
2024-12-13 11:51:09.843 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] number.careli_maf05a_53b4_target_temperature: Entity state updated: 77
2024-12-13 11:51:09.844 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] button.careli_maf05a_53b4_info: Entity state updated: Heißluft-Fritteuse
2024-12-13 11:51:09.844 DEBUG (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Finished fetching cc:b5:d1:89:53:b4-58f06294d11d346a1c4710e9503054eb-chunk_1 data in 0.283 seconds (success: True)
2024-12-13 11:51:09.844 DEBUG (MainThread) [custom_components.xiaomi_miot.core.coordinator] Heißluft-Fritteuse(careli.fryer.maf05a): Coordinator updated: ['cc:b5:d1:89:53:b4-58f06294d11d346a1c4710e9503054eb-chunk_1', <custom_components.xiaomi_miot.core.miot_spec.MiotResults object at 0x7f5f6b5470>]
2024-12-13 11:51:10.452 DEBUG (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Update miot status: {'use_local': [True, True, <MiotDevice: 192.168.178.168 (token: fb7ca32b3bc2432d8af680b62c765b09)>], 'use_cloud': [False, False], 'mapping': {'custom.food_quanty': {'siid': 3, 'piid': 6}, 'custom.preheat_switch': {'siid': 3, 'piid': 7}, 'custom.appoint_time_left': {'siid': 3, 'piid': 8}, 'custom.turn_pot': {'siid': 3, 'piid': 10}, 'custom.turn_pot_cfg': {'siid': 3, 'piid': 11}}}
2024-12-13 11:51:10.788 INFO (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Device updated: {'custom.food_quanty': 'Null', 'custom.preheat_switch': 'Off', 'custom.appoint_time_left': 0, 'custom.turn_pot': 'Not Turn Pot', 'custom.turn_pot_cfg': 1}
2024-12-13 11:51:10.788 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] sensor.careli_maf05a_53b4_appoint_time_left: Entity state updated: 0
2024-12-13 11:51:10.788 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] switch.careli_maf05a_53b4_turn_pot_cfg: Entity state updated: 1
2024-12-13 11:51:10.788 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] select.careli_maf05a_53b4_food_quanty: Entity state updated: Null
2024-12-13 11:51:10.789 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] select.careli_maf05a_53b4_preheat_switch: Entity state updated: Off
2024-12-13 11:51:10.789 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] select.careli_maf05a_53b4_turn_pot: Entity state updated: Not Turn Pot
2024-12-13 11:51:10.789 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] button.careli_maf05a_53b4_info: Entity state updated: Heißluft-Fritteuse
2024-12-13 11:51:10.789 DEBUG (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Finished fetching cc:b5:d1:89:53:b4-58f06294d11d346a1c4710e9503054eb-miot_status data in 0.338 seconds (success: True)
2024-12-13 11:51:10.789 DEBUG (MainThread) [custom_components.xiaomi_miot.core.coordinator] Heißluft-Fritteuse(careli.fryer.maf05a): Coordinator updated: ['cc:b5:d1:89:53:b4-58f06294d11d346a1c4710e9503054eb-miot_status', <custom_components.xiaomi_miot.core.miot_spec.MiotResults object at 0x7f665f1940>]
2024-12-13 11:51:11.673 INFO (SyncWorker_23) [custom_components.xiaomi_miot.core.miio2miot] zhimi.fan.za4: Got miio props for miot: {'power': 'off', 'speed_level': 59, 'angle_enable': 'on', 'angle': 60, 'natural_level': 59, 'child_lock': 'off', 'buzzer': 0, 'led_b': 2}
2024-12-13 11:51:11.685 INFO (MainThread) [custom_components.xiaomi_miot.core.device.zhimi.fan.za4] Device updated: {'indicator_light.brightness': True, 'alarm': False, 'physical_controls_locked': False, 'fan.fan_level': 59, 'fan.horizontal_swing': True, 'fan-2.stepless_fan_level': 59}
2024-12-13 11:51:11.685 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] switch.zhimi_za4_5cf0_physical_control_locked: Entity state updated: False
2024-12-13 11:51:11.685 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] switch.zhimi_za4_5cf0_horizontal_swing: Entity state updated: True
2024-12-13 11:51:11.685 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] switch.zhimi_za4_5cf0_alarm: Entity state updated: False
2024-12-13 11:51:11.685 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] number.zhimi_za4_5cf0_gear_fan_level: Entity state updated: 59
2024-12-13 11:51:11.685 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] number.zhimi_za4_5cf0_stepless_fan_level: Entity state updated: 59
2024-12-13 11:51:11.686 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] button.zhimi_za4_5cf0_info: Entity state updated: Ventilator
2024-12-13 11:51:11.686 DEBUG (MainThread) [custom_components.xiaomi_miot.core.device.zhimi.fan.za4] Finished fetching 58:b6:23:31:5c:f0-58f06294d11d346a1c4710e9503054eb-miot_status data in 2.112 seconds (success: True)
2024-12-13 11:51:11.686 DEBUG (MainThread) [custom_components.xiaomi_miot.core.coordinator] Ventilator(zhimi.fan.za4): Coordinator updated: ['58:b6:23:31:5c:f0-58f06294d11d346a1c4710e9503054eb-miot_status', <custom_components.xiaomi_miot.core.miot_spec.MiotResults object at 0x7f67a53d90>]
2024-12-13 11:51:11.686 DEBUG (MainThread) [custom_components.xiaomi_miot.core.device.zhimi.fan.za4] Ventilator Fan: Got new state: {'state_updater': 'local', 'indicator_light.brightness': True, 'alarm': False, 'physical_controls_locked': False, 'fan.on': False, 'fan.fan_level': 59, 'fan.horizontal_swing': True, 'horizontal_swing_included_angle-2-4': 60, 'fan.mode': 1, 'fan-2.stepless_fan_level': 59}
2024-12-13 11:51:14.221 DEBUG (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Update miot status: {'use_local': [True, True, <MiotDevice: 192.168.178.168 (token: fb7ca32b3bc2432d8af680b62c765b09)>], 'use_cloud': [False, False], 'mapping': {'custom.appoint_time': {'siid': 3, 'piid': 5}, 'air_fryer.fault': {'siid': 2, 'piid': 2}}}
2024-12-13 11:51:14.380 INFO (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Device updated: {'custom.appoint_time': 0, 'air_fryer.fault': 'No Faults'}
2024-12-13 11:51:14.380 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] sensor.careli_maf05a_53b4_status: Entity state updated: None
2024-12-13 11:51:14.380 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] number.careli_maf05a_53b4_appoint_time: Entity state updated: 0
2024-12-13 11:51:14.381 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] button.careli_maf05a_53b4_info: Entity state updated: Heißluft-Fritteuse
2024-12-13 11:51:14.381 DEBUG (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Finished fetching cc:b5:d1:89:53:b4-58f06294d11d346a1c4710e9503054eb-chunk_2 data in 0.160 seconds (success: True)
2024-12-13 11:51:14.381 DEBUG (MainThread) [custom_components.xiaomi_miot.core.coordinator] Heißluft-Fritteuse(careli.fryer.maf05a): Coordinator updated: ['cc:b5:d1:89:53:b4-58f06294d11d346a1c4710e9503054eb-chunk_2', <custom_components.xiaomi_miot.core.miot_spec.MiotResults object at 0x7f601439a0>]
2024-12-13 11:51:24.346 DEBUG (MainThread) [custom_components.xiaomi_miot.core.xiaomi_cloud] Request miot api: v2/message/v2/typelist {} result: bytearray(b'{"code":0,"message":"ok","result":{"messages":null}}')
2024-12-13 11:51:24.346 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Finished fetching xiaomi_miot-mihome-message-8178887220 data in 0.043 seconds (success: True)
2024-12-13 11:51:24.401 DEBUG (MainThread) [custom_components.xiaomi_miot.core.xiaomi_cloud] Request miot api: scene/history {'home_id': 926001045317, 'uid': 8178887220, 'owner_uid': 8178887220, 'command': 'history', 'limit': 15} result: bytearray(b'{"code":0,"message":"\xe6\x88\x90\xe5\x8a\x9f","result":{"history":[]}}')
2024-12-13 11:51:24.401 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Finished fetching xiaomi_miot-mihome-scene-history-8178887220_926001045317 data in 0.058 seconds (success: True)
2024-12-13 11:51:29.561 DEBUG (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Update miot status: {'use_local': [True, True, <MiotDevice: 192.168.178.168 (token: fb7ca32b3bc2432d8af680b62c765b09)>], 'use_cloud': [False, False], 'mapping': {'air_fryer.status': {'siid': 2, 'piid': 1}, 'air_fryer.target_time': {'siid': 2, 'piid': 3}, 'air_fryer.target_temperature': {'siid': 2, 'piid': 4}, 'air_fryer.left_time': {'siid': 2, 'piid': 5}}}
2024-12-13 11:51:29.816 INFO (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Device updated: {'air_fryer.status': 'standby', 'air_fryer.target_time': 5, 'air_fryer.target_temperature': 77, 'air_fryer.left_time': 5}
2024-12-13 11:51:29.816 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] sensor.careli_maf05a_53b4_status: Entity state updated: standby
2024-12-13 11:51:29.816 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] sensor.careli_maf05a_53b4_left_time: Entity state updated: 5
2024-12-13 11:51:29.816 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] number.careli_maf05a_53b4_target_time: Entity state updated: 5
2024-12-13 11:51:29.816 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] number.careli_maf05a_53b4_target_temperature: Entity state updated: 77
2024-12-13 11:51:29.817 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] button.careli_maf05a_53b4_info: Entity state updated: Heißluft-Fritteuse
2024-12-13 11:51:29.817 DEBUG (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Finished fetching cc:b5:d1:89:53:b4-58f06294d11d346a1c4710e9503054eb-chunk_1 data in 0.256 seconds (success: True)
2024-12-13 11:51:29.817 DEBUG (MainThread) [custom_components.xiaomi_miot.core.coordinator] Heißluft-Fritteuse(careli.fryer.maf05a): Coordinator updated: ['cc:b5:d1:89:53:b4-58f06294d11d346a1c4710e9503054eb-chunk_1', <custom_components.xiaomi_miot.core.miot_spec.MiotResults object at 0x7f6b76cbb0>]
2024-12-13 11:51:39.348 DEBUG (MainThread) [custom_components.xiaomi_miot.core.xiaomi_cloud] Request miot api: v2/message/v2/typelist {} result: bytearray(b'{"code":0,"message":"ok","result":{"messages":null}}')
2024-12-13 11:51:39.348 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Finished fetching xiaomi_miot-mihome-message-8178887220 data in 0.045 seconds (success: True)
2024-12-13 11:51:39.387 DEBUG (MainThread) [custom_components.xiaomi_miot.core.xiaomi_cloud] Request miot api: scene/history {'home_id': 926001045317, 'uid': 8178887220, 'owner_uid': 8178887220, 'command': 'history', 'limit': 15} result: bytearray(b'{"code":0,"message":"\xe6\x88\x90\xe5\x8a\x9f","result":{"history":[]}}')
2024-12-13 11:51:39.388 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Finished fetching xiaomi_miot-mihome-scene-history-8178887220_926001045317 data in 0.045 seconds (success: True)
2024-12-13 11:51:39.575 DEBUG (MainThread) [custom_components.xiaomi_miot.core.device.zhimi.fan.za4] Update miot status: {'use_local': [True, True, <MiotDevice: 192.168.178.88 (token: 3ea12ff335106c3a30fbff9f255d16ef)>], 'use_cloud': [False, False], 'mapping': {'countdown.countdown_time': {'siid': 6, 'piid': 1}, 'indicator_light.brightness': {'siid': 5, 'piid': 1}, 'alarm': {'siid': 4, 'piid': 1}, 'physical_controls_locked': {'siid': 3, 'piid': 1}, 'fan.on': {'siid': 2, 'piid': 1}, 'fan.fan_level': {'siid': 2, 'piid': 2}, 'fan.horizontal_swing': {'siid': 2, 'piid': 3}, 'horizontal_swing_included_angle-2-4': {'siid': 2, 'piid': 4}, 'fan.mode': {'siid': 2, 'piid': 5}, 'fan-2.stepless_fan_level': {'siid': 2, 'piid': 6}}}
2024-12-13 11:51:41.508 INFO (SyncWorker_14) [custom_components.xiaomi_miot.core.miio2miot] zhimi.fan.za4: Got miio props for miot: {'power': 'off', 'speed_level': 59, 'angle_enable': 'on', 'angle': 60, 'natural_level': 59, 'child_lock': 'off', 'buzzer': 0, 'led_b': 2}
2024-12-13 11:51:41.520 INFO (MainThread) [custom_components.xiaomi_miot.core.device.zhimi.fan.za4] Device updated: {'indicator_light.brightness': True, 'alarm': False, 'physical_controls_locked': False, 'fan.fan_level': 59, 'fan.horizontal_swing': True, 'fan-2.stepless_fan_level': 59}
2024-12-13 11:51:41.520 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] switch.zhimi_za4_5cf0_physical_control_locked: Entity state updated: False
2024-12-13 11:51:41.520 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] switch.zhimi_za4_5cf0_horizontal_swing: Entity state updated: True
2024-12-13 11:51:41.520 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] switch.zhimi_za4_5cf0_alarm: Entity state updated: False
2024-12-13 11:51:41.520 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] number.zhimi_za4_5cf0_gear_fan_level: Entity state updated: 59
2024-12-13 11:51:41.520 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] number.zhimi_za4_5cf0_stepless_fan_level: Entity state updated: 59
2024-12-13 11:51:41.521 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] button.zhimi_za4_5cf0_info: Entity state updated: Ventilator
2024-12-13 11:51:41.521 DEBUG (MainThread) [custom_components.xiaomi_miot.core.device.zhimi.fan.za4] Finished fetching 58:b6:23:31:5c:f0-58f06294d11d346a1c4710e9503054eb-miot_status data in 1.946 seconds (success: True)
2024-12-13 11:51:41.521 DEBUG (MainThread) [custom_components.xiaomi_miot.core.coordinator] Ventilator(zhimi.fan.za4): Coordinator updated: ['58:b6:23:31:5c:f0-58f06294d11d346a1c4710e9503054eb-miot_status', <custom_components.xiaomi_miot.core.miot_spec.MiotResults object at 0x7f82ffa270>]
2024-12-13 11:51:41.521 DEBUG (MainThread) [custom_components.xiaomi_miot.core.device.zhimi.fan.za4] Ventilator Fan: Got new state: {'state_updater': 'local', 'indicator_light.brightness': True, 'alarm': False, 'physical_controls_locked': False, 'fan.on': False, 'fan.fan_level': 59, 'fan.horizontal_swing': True, 'horizontal_swing_included_angle-2-4': 60, 'fan.mode': 1, 'fan-2.stepless_fan_level': 59}
2024-12-13 11:51:49.222 DEBUG (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Update miot status: {'use_local': [True, True, <MiotDevice: 192.168.178.168 (token: fb7ca32b3bc2432d8af680b62c765b09)>], 'use_cloud': [False, False], 'mapping': {'custom.appoint_time': {'siid': 3, 'piid': 5}, 'air_fryer.fault': {'siid': 2, 'piid': 2}}}
2024-12-13 11:51:49.405 INFO (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Device updated: {'custom.appoint_time': 0, 'air_fryer.fault': 'No Faults'}
2024-12-13 11:51:49.405 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] sensor.careli_maf05a_53b4_status: Entity state updated: None
2024-12-13 11:51:49.405 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] number.careli_maf05a_53b4_appoint_time: Entity state updated: 0
2024-12-13 11:51:49.406 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] button.careli_maf05a_53b4_info: Entity state updated: Heißluft-Fritteuse
2024-12-13 11:51:49.406 DEBUG (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Finished fetching cc:b5:d1:89:53:b4-58f06294d11d346a1c4710e9503054eb-chunk_2 data in 0.184 seconds (success: True)
2024-12-13 11:51:49.406 DEBUG (MainThread) [custom_components.xiaomi_miot.core.coordinator] Heißluft-Fritteuse(careli.fryer.maf05a): Coordinator updated: ['cc:b5:d1:89:53:b4-58f06294d11d346a1c4710e9503054eb-chunk_2', <custom_components.xiaomi_miot.core.miot_spec.MiotResults object at 0x7f58a31390>]
2024-12-13 11:51:49.562 DEBUG (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Update miot status: {'use_local': [True, True, <MiotDevice: 192.168.178.168 (token: fb7ca32b3bc2432d8af680b62c765b09)>], 'use_cloud': [False, False], 'mapping': {'air_fryer.status': {'siid': 2, 'piid': 1}, 'air_fryer.target_time': {'siid': 2, 'piid': 3}, 'air_fryer.target_temperature': {'siid': 2, 'piid': 4}, 'air_fryer.left_time': {'siid': 2, 'piid': 5}}}
2024-12-13 11:51:49.790 INFO (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Device updated: {'air_fryer.status': 'standby', 'air_fryer.target_time': 5, 'air_fryer.target_temperature': 77, 'air_fryer.left_time': 5}
2024-12-13 11:51:49.790 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] sensor.careli_maf05a_53b4_status: Entity state updated: standby
2024-12-13 11:51:49.790 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] sensor.careli_maf05a_53b4_left_time: Entity state updated: 5
2024-12-13 11:51:49.790 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] number.careli_maf05a_53b4_target_time: Entity state updated: 5
2024-12-13 11:51:49.790 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] number.careli_maf05a_53b4_target_temperature: Entity state updated: 77
2024-12-13 11:51:49.791 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] button.careli_maf05a_53b4_info: Entity state updated: Heißluft-Fritteuse
2024-12-13 11:51:49.791 DEBUG (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Finished fetching cc:b5:d1:89:53:b4-58f06294d11d346a1c4710e9503054eb-chunk_1 data in 0.229 seconds (success: True)
2024-12-13 11:51:49.791 DEBUG (MainThread) [custom_components.xiaomi_miot.core.coordinator] Heißluft-Fritteuse(careli.fryer.maf05a): Coordinator updated: ['cc:b5:d1:89:53:b4-58f06294d11d346a1c4710e9503054eb-chunk_1', <custom_components.xiaomi_miot.core.miot_spec.MiotResults object at 0x7f582eb150>]
2024-12-13 11:51:54.341 DEBUG (MainThread) [custom_components.xiaomi_miot.core.xiaomi_cloud] Request miot api: v2/message/v2/typelist {} result: bytearray(b'{"code":0,"message":"ok","result":{"messages":null}}')
2024-12-13 11:51:54.341 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Finished fetching xiaomi_miot-mihome-message-8178887220 data in 0.038 seconds (success: True)
2024-12-13 11:51:54.392 DEBUG (MainThread) [custom_components.xiaomi_miot.core.xiaomi_cloud] Request miot api: scene/history {'home_id': 926001045317, 'uid': 8178887220, 'owner_uid': 8178887220, 'command': 'history', 'limit': 15} result: bytearray(b'{"code":0,"message":"\xe6\x88\x90\xe5\x8a\x9f","result":{"history":[]}}')
2024-12-13 11:51:54.392 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Finished fetching xiaomi_miot-mihome-scene-history-8178887220_926001045317 data in 0.048 seconds (success: True)
2024-12-13 11:52:09.347 DEBUG (MainThread) [custom_components.xiaomi_miot.core.xiaomi_cloud] Request miot api: v2/message/v2/typelist {} result: bytearray(b'{"code":0,"message":"ok","result":{"messages":null}}')
2024-12-13 11:52:09.347 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Finished fetching xiaomi_miot-mihome-message-8178887220 data in 0.043 seconds (success: True)
2024-12-13 11:52:09.393 DEBUG (MainThread) [custom_components.xiaomi_miot.core.xiaomi_cloud] Request miot api: scene/history {'home_id': 926001045317, 'uid': 8178887220, 'owner_uid': 8178887220, 'command': 'history', 'limit': 15} result: bytearray(b'{"code":0,"message":"\xe6\x88\x90\xe5\x8a\x9f","result":{"history":[]}}')
2024-12-13 11:52:09.393 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Finished fetching xiaomi_miot-mihome-scene-history-8178887220_926001045317 data in 0.050 seconds (success: True)
2024-12-13 11:52:09.561 DEBUG (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Update miot status: {'use_local': [True, True, <MiotDevice: 192.168.178.168 (token: fb7ca32b3bc2432d8af680b62c765b09)>], 'use_cloud': [False, False], 'mapping': {'air_fryer.status': {'siid': 2, 'piid': 1}, 'air_fryer.target_time': {'siid': 2, 'piid': 3}, 'air_fryer.target_temperature': {'siid': 2, 'piid': 4}, 'air_fryer.left_time': {'siid': 2, 'piid': 5}}}
2024-12-13 11:52:09.576 DEBUG (MainThread) [custom_components.xiaomi_miot.core.device.zhimi.fan.za4] Update miot status: {'use_local': [True, True, <MiotDevice: 192.168.178.88 (token: 3ea12ff335106c3a30fbff9f255d16ef)>], 'use_cloud': [False, False], 'mapping': {'countdown.countdown_time': {'siid': 6, 'piid': 1}, 'indicator_light.brightness': {'siid': 5, 'piid': 1}, 'alarm': {'siid': 4, 'piid': 1}, 'physical_controls_locked': {'siid': 3, 'piid': 1}, 'fan.on': {'siid': 2, 'piid': 1}, 'fan.fan_level': {'siid': 2, 'piid': 2}, 'fan.horizontal_swing': {'siid': 2, 'piid': 3}, 'horizontal_swing_included_angle-2-4': {'siid': 2, 'piid': 4}, 'fan.mode': {'siid': 2, 'piid': 5}, 'fan-2.stepless_fan_level': {'siid': 2, 'piid': 6}}}
2024-12-13 11:52:09.854 INFO (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Device updated: {'air_fryer.status': 'standby', 'air_fryer.target_time': 5, 'air_fryer.target_temperature': 77, 'air_fryer.left_time': 5}
2024-12-13 11:52:09.855 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] sensor.careli_maf05a_53b4_status: Entity state updated: standby
2024-12-13 11:52:09.855 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] sensor.careli_maf05a_53b4_left_time: Entity state updated: 5
2024-12-13 11:52:09.855 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] number.careli_maf05a_53b4_target_time: Entity state updated: 5
2024-12-13 11:52:09.855 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] number.careli_maf05a_53b4_target_temperature: Entity state updated: 77
2024-12-13 11:52:09.855 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] button.careli_maf05a_53b4_info: Entity state updated: Heißluft-Fritteuse
2024-12-13 11:52:09.855 DEBUG (MainThread) [custom_components.xiaomi_miot.core.device.careli.fryer.maf05a] Finished fetching cc:b5:d1:89:53:b4-58f06294d11d346a1c4710e9503054eb-chunk_1 data in 0.295 seconds (success: True)
2024-12-13 11:52:09.855 DEBUG (MainThread) [custom_components.xiaomi_miot.core.coordinator] Heißluft-Fritteuse(careli.fryer.maf05a): Coordinator updated: ['cc:b5:d1:89:53:b4-58f06294d11d346a1c4710e9503054eb-chunk_1', <custom_components.xiaomi_miot.core.miot_spec.MiotResults object at 0x7f60be6890>]
2024-12-13 11:52:11.685 INFO (SyncWorker_39) [custom_components.xiaomi_miot.core.miio2miot] zhimi.fan.za4: Got miio props for miot: {'power': 'off', 'speed_level': 59, 'angle_enable': 'on', 'angle': 60, 'natural_level': 59, 'child_lock': 'off', 'buzzer': 0, 'led_b': 2}
2024-12-13 11:52:11.697 INFO (MainThread) [custom_components.xiaomi_miot.core.device.zhimi.fan.za4] Device updated: {'indicator_light.brightness': True, 'alarm': False, 'physical_controls_locked': False, 'fan.fan_level': 59, 'fan.horizontal_swing': True, 'fan-2.stepless_fan_level': 59}
2024-12-13 11:52:11.697 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] switch.zhimi_za4_5cf0_physical_control_locked: Entity state updated: False
2024-12-13 11:52:11.697 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] switch.zhimi_za4_5cf0_horizontal_swing: Entity state updated: True
2024-12-13 11:52:11.698 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] switch.zhimi_za4_5cf0_alarm: Entity state updated: False
2024-12-13 11:52:11.698 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] number.zhimi_za4_5cf0_gear_fan_level: Entity state updated: 59
2024-12-13 11:52:11.698 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] number.zhimi_za4_5cf0_stepless_fan_level: Entity state updated: 59
2024-12-13 11:52:11.698 DEBUG (MainThread) [custom_components.xiaomi_miot.core.hass_entity] button.zhimi_za4_5cf0_info: Entity state updated: Ventilator
2024-12-13 11:52:11.698 DEBUG (MainThread) [custom_components.xiaomi_miot.core.device.zhimi.fan.za4] Finished fetching 58:b6:23:31:5c:f0-58f06294d11d346a1c4710e9503054eb-miot_status data in 2.123 seconds (success: True)
2024-12-13 11:52:11.698 DEBUG (MainThread) [custom_components.xiaomi_miot.core.coordinator] Ventilator(zhimi.fan.za4): Coordinator updated: ['58:b6:23:31:5c:f0-58f06294d11d346a1c4710e9503054eb-miot_status', <custom_components.xiaomi_miot.core.miot_spec.MiotResults object at 0x7f60be6820>]
2024-12-13 11:52:11.698 DEBUG (MainThread) [custom_components.xiaomi_miot.core.device.zhimi.fan.za4] Ventilator Fan: Got new state: {'state_updater': 'local', 'indicator_light.brightness': True, 'alarm': False, 'physical_controls_locked': False, 'fan.on': False, 'fan.fan_level': 59, 'fan.horizontal_swing': True, 'horizontal_swing_included_angle-2-4': 60, 'fan.mode': 1, 'fan-2.stepless_fan_level': 59}

Edit: This has now stopped because the device is offline. So the switch only happens if it's on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants