Xiaomi Air Fryer unavailable while all sub-entities are available
See original GitHub issueHello.
I currently have a Mi Smart Air Fryer (3.5L) (careli.fryer.maf02) connected to HA via your custom component.
This device only seems to keep Wifi connection when it is switched on (even if it’s plugged in to power plug but switched off, Wifi does not seem to be active). This will cause significant periods in which it will be unavailable in Home Assistant. It also means that the integration must be capable of reactivating the device/entities every time the connection is available again.
My yaml config is the following:
xiaomi_miot:
### Enable Xiaomi Cloud
# username: !secret xiaomi_cloud_username
# password: !secret xiaomi_cloud_password
### Ideas taken from https://github.com/al-one/hass-xiaomi-miot/issues/326
device_customizes:
hfjh.fishbowl.v2:
### Generate number entities for pump flux, brightness and led color
number_properties: pump_flux,ledboard_brightness,ledboard_color
### Generate a button entity to trigger the action to feed the fish
button_actions: set_feed_single
### Add attribute to keep track of latest feed-record event
miio_cloud_props: event.4.1
zhimi.heater.mc2:
### Assign a different temp sensor to climate entity generated for heater
bind_sensor: sensor.temperature_158d0001571539
### Generate switches for heater on/off + alarm on/off
switch_properties: heater.on,alarm
careli.fryer.maf02:
### Generate a sensor entity to show the remaining cooking time
sensor_properties: air_fryer.left_time
exclude_state_attributes:
### Generic attributes to exclude
- mac_address
### Heater attributes to exclude
- private_service.hw_enable
- private_service.use_time
- private_service.country_code
### Aquarium attributes to exclude
- function.mcu_type
- function.mcu_type_new
- function.key_switch
- function.feed_time_week
- function.feed_num
- function.feed_time
- function.feed_time_switch
- function.ledboard_time_switch
- function.ledboard_time_open
- function.ledboard_time_close
- function.ledboard_model
- function.ledboard_sun
- function.ledboard_stream
- function.ledboard_speed
- function.ledboard_time_switch
- function.ledboard_time_open
- function.ledboard_time_close
### Air Fryer attributes to exclude
- home_room
Integration is set-up using LAN IP + Token.
If I turn off the Air Fryer, HA is kept like this (all entities available):
If I look at the main entity attributes, it is strange that it has state_updater: none
If I reload the integration manually, it is set as unavailable:
and the main entity attributes:
If I turn the air fryer physically on, only the main entity is changed (sub-entities are kept unavailable):
and then if I reload the integration manually, it is set as available:
So it looks like the component is not being able to update the integration status by itself (state_updater: none?).
I tried purging all non-related messages to keep only the fryer ones, hope this helps:
2022-01-21 10:04:53 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'state_updater': 'none', 'sub_entities': ['target_time', 'target_temperature', 'cook_switch']}
2022-01-21 10:05:23 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'state_updater': 'none', 'sub_entities': ['target_time', 'target_temperature', 'cook_switch']}
2022-01-21 10:05:53 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'state_updater': 'none', 'sub_entities': ['target_time', 'target_temperature', 'cook_switch']}
2022-01-21 10:06:23 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'state_updater': 'none', 'sub_entities': ['target_time', 'target_temperature', 'cook_switch']}
2022-01-21 10:06:36 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'air_fryer.status': 1, 'air_fryer.fault': 0, 'air_fryer.target_time': 15, 'air_fryer.target_temperature': 180, 'air_fryer.left_time': 15, 'state_updater': 'lan'}
2022-01-21 10:06:36 INFO (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Initializing miot device with mapping: {'air_fryer.status': {'siid': 2, 'piid': 1}, 'air_fryer.fault': {'siid': 2, 'piid': 2}, 'air_fryer.target_time': {'siid': 2, 'piid': 3}, 'air_fryer.target_temperature': {'siid': 2, 'piid': 4}, 'air_fryer.left_time': {'siid': 2, 'piid': 5}}
2022-01-21 10:07:06 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'state_updater': 'none'}
2022-01-21 10:07:36 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'state_updater': 'none', 'sub_entities': ['target_time', 'target_temperature', 'cook_switch']}
2022-01-21 10:08:06 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'state_updater': 'none', 'sub_entities': ['target_time', 'target_temperature', 'cook_switch']}
2022-01-21 10:08:36 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'state_updater': 'none', 'sub_entities': ['target_time', 'target_temperature', 'cook_switch']}
2022-01-21 10:09:06 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'state_updater': 'none', 'sub_entities': ['target_time', 'target_temperature', 'cook_switch']}
2022-01-21 10:09:36 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'state_updater': 'none', 'sub_entities': ['target_time', 'target_temperature', 'cook_switch']}
2022-01-21 10:10:06 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'state_updater': 'none', 'sub_entities': ['target_time', 'target_temperature', 'cook_switch']}
2022-01-21 10:10:36 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'state_updater': 'none', 'sub_entities': ['target_time', 'target_temperature', 'cook_switch']}
2022-01-21 10:11:06 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'state_updater': 'none', 'sub_entities': ['target_time', 'target_temperature', 'cook_switch']}
2022-01-21 10:11:36 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'state_updater': 'none', 'sub_entities': ['target_time', 'target_temperature', 'cook_switch']}
2022-01-21 10:12:36 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'state_updater': 'none', 'sub_entities': ['target_time', 'target_temperature', 'cook_switch']}
2022-01-21 10:13:06 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'state_updater': 'none', 'sub_entities': ['target_time', 'target_temperature', 'cook_switch']}
2022-01-21 10:13:36 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'state_updater': 'none', 'sub_entities': ['target_time', 'target_temperature', 'cook_switch']}
2022-01-21 10:14:06 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'state_updater': 'none', 'sub_entities': ['target_time', 'target_temperature', 'cook_switch']}
2022-01-21 10:14:36 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'state_updater': 'none', 'sub_entities': ['target_time', 'target_temperature', 'cook_switch']}
2022-01-21 10:15:06 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'state_updater': 'none', 'sub_entities': ['target_time', 'target_temperature', 'cook_switch']}
2022-01-21 10:15:36 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'state_updater': 'none', 'sub_entities': ['target_time', 'target_temperature', 'cook_switch']}
2022-01-21 10:16:06 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'state_updater': 'none', 'sub_entities': ['target_time', 'target_temperature', 'cook_switch']}
2022-01-21 10:16:36 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'state_updater': 'none', 'sub_entities': ['target_time', 'target_temperature', 'cook_switch']}
2022-01-21 10:17:06 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'state_updater': 'none', 'sub_entities': ['target_time', 'target_temperature', 'cook_switch']}
2022-01-21 10:17:36 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'state_updater': 'none', 'sub_entities': ['target_time', 'target_temperature', 'cook_switch']}
2022-01-21 10:18:06 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'state_updater': 'none', 'sub_entities': ['target_time', 'target_temperature', 'cook_switch']}
2022-01-21 10:18:36 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'state_updater': 'none', 'sub_entities': ['target_time', 'target_temperature', 'cook_switch']}
2022-01-21 10:19:06 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'state_updater': 'none', 'sub_entities': ['target_time', 'target_temperature', 'cook_switch']}
2022-01-21 10:19:36 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'state_updater': 'none', 'sub_entities': ['target_time', 'target_temperature', 'cook_switch']}
2022-01-21 10:20:06 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'state_updater': 'none', 'sub_entities': ['target_time', 'target_temperature', 'cook_switch']}
2022-01-21 10:20:36 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'state_updater': 'none', 'sub_entities': ['target_time', 'target_temperature', 'cook_switch']}
2022-01-21 10:21:06 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'state_updater': 'none', 'sub_entities': ['target_time', 'target_temperature', 'cook_switch']}
2022-01-21 10:21:36 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'state_updater': 'none', 'sub_entities': ['target_time', 'target_temperature', 'cook_switch']}
2022-01-21 10:22:06 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'state_updater': 'none', 'sub_entities': ['target_time', 'target_temperature', 'cook_switch']}
2022-01-21 10:22:36 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'state_updater': 'none', 'sub_entities': ['target_time', 'target_temperature', 'cook_switch']}
2022-01-21 10:23:06 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'state_updater': 'none', 'sub_entities': ['target_time', 'target_temperature', 'cook_switch']}
2022-01-21 10:23:36 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'state_updater': 'none', 'sub_entities': ['target_time', 'target_temperature', 'cook_switch']}
2022-01-21 10:24:06 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'state_updater': 'none', 'sub_entities': ['target_time', 'target_temperature', 'cook_switch']}
2022-01-21 10:24:36 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'state_updater': 'none', 'sub_entities': ['target_time', 'target_temperature', 'cook_switch']}
2022-01-21 10:25:06 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'state_updater': 'none', 'sub_entities': ['target_time', 'target_temperature', 'cook_switch']}
2022-01-21 10:25:36 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'state_updater': 'none', 'sub_entities': ['target_time', 'target_temperature', 'cook_switch']}
2022-01-21 10:26:06 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'state_updater': 'none', 'sub_entities': ['target_time', 'target_temperature', 'cook_switch']}
2022-01-21 10:26:36 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'state_updater': 'none', 'sub_entities': ['target_time', 'target_temperature', 'cook_switch']}
2022-01-21 10:27:06 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'state_updater': 'none', 'sub_entities': ['target_time', 'target_temperature', 'cook_switch']}
2022-01-21 10:27:36 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'state_updater': 'none', 'sub_entities': ['target_time', 'target_temperature', 'cook_switch']}
2022-01-21 10:28:06 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'state_updater': 'none', 'sub_entities': ['target_time', 'target_temperature', 'cook_switch']}
2022-01-21 10:28:36 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'state_updater': 'none', 'sub_entities': ['target_time', 'target_temperature', 'cook_switch']}
2022-01-21 10:29:06 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'state_updater': 'none', 'sub_entities': ['target_time', 'target_temperature', 'cook_switch']}
2022-01-21 10:29:36 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'state_updater': 'none', 'sub_entities': ['target_time', 'target_temperature', 'cook_switch']}
2022-01-21 10:30:06 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'state_updater': 'none', 'sub_entities': ['target_time', 'target_temperature', 'cook_switch']}
2022-01-21 10:30:36 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'state_updater': 'none', 'sub_entities': ['target_time', 'target_temperature', 'cook_switch']}
2022-01-21 10:31:06 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'state_updater': 'none', 'sub_entities': ['target_time', 'target_temperature', 'cook_switch']}
2022-01-21 10:31:36 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'state_updater': 'none', 'sub_entities': ['target_time', 'target_temperature', 'cook_switch']}
2022-01-21 10:32:06 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'state_updater': 'none', 'sub_entities': ['target_time', 'target_temperature', 'cook_switch']}
2022-01-21 10:32:36 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'state_updater': 'none', 'sub_entities': ['target_time', 'target_temperature', 'cook_switch']}
2022-01-21 10:33:06 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'state_updater': 'none', 'sub_entities': ['target_time', 'target_temperature', 'cook_switch']}
2022-01-21 10:33:36 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'state_updater': 'none', 'sub_entities': ['target_time', 'target_temperature', 'cook_switch']}
2022-01-21 10:34:06 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'state_updater': 'none', 'sub_entities': ['target_time', 'target_temperature', 'cook_switch']}
2022-01-21 10:34:51 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'state_updater': 'none'}
2022-01-21 10:35:21 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'state_updater': 'none', 'sub_entities': ['target_time', 'target_temperature', 'cook_switch']}
2022-01-21 10:35:51 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'state_updater': 'none', 'sub_entities': ['target_time', 'target_temperature', 'cook_switch']}
2022-01-21 10:36:21 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'state_updater': 'none', 'sub_entities': ['target_time', 'target_temperature', 'cook_switch']}
2022-01-21 10:36:51 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'state_updater': 'none', 'sub_entities': ['target_time', 'target_temperature', 'cook_switch']}
2022-01-21 10:37:21 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'state_updater': 'none', 'sub_entities': ['target_time', 'target_temperature', 'cook_switch']}
2022-01-21 10:37:51 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'state_updater': 'none', 'sub_entities': ['target_time', 'target_temperature', 'cook_switch']}
2022-01-21 10:38:21 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'state_updater': 'none', 'sub_entities': ['target_time', 'target_temperature', 'cook_switch']}
2022-01-21 10:38:51 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'state_updater': 'none', 'sub_entities': ['target_time', 'target_temperature', 'cook_switch']}
2022-01-21 10:39:21 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'state_updater': 'none', 'sub_entities': ['target_time', 'target_temperature', 'cook_switch']}
2022-01-21 10:39:46 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'air_fryer.status': 1, 'air_fryer.fault': 0, 'air_fryer.target_time': 15, 'air_fryer.target_temperature': 180, 'air_fryer.left_time': 15, 'state_updater': 'lan'}
2022-01-21 10:39:46 INFO (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Initializing miot device with mapping: {'air_fryer.status': {'siid': 2, 'piid': 1}, 'air_fryer.fault': {'siid': 2, 'piid': 2}, 'air_fryer.target_time': {'siid': 2, 'piid': 3}, 'air_fryer.target_temperature': {'siid': 2, 'piid': 4}, 'air_fryer.left_time': {'siid': 2, 'piid': 5}}
2022-01-21 10:40:16 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'state_updater': 'none'}
2022-01-21 10:40:46 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'state_updater': 'none', 'sub_entities': ['target_time', 'target_temperature', 'cook_switch']}
2022-01-21 10:41:16 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'state_updater': 'none', 'sub_entities': ['target_time', 'target_temperature', 'cook_switch']}
2022-01-21 10:41:46 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'state_updater': 'none', 'sub_entities': ['target_time', 'target_temperature', 'cook_switch']}
2022-01-21 10:42:16 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'state_updater': 'none', 'sub_entities': ['target_time', 'target_temperature', 'cook_switch']}
2022-01-21 10:42:46 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'state_updater': 'none', 'sub_entities': ['target_time', 'target_temperature', 'cook_switch']}
2022-01-21 10:43:16 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'state_updater': 'none', 'sub_entities': ['target_time', 'target_temperature', 'cook_switch']}
2022-01-21 10:43:46 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'state_updater': 'none', 'sub_entities': ['target_time', 'target_temperature', 'cook_switch']}
2022-01-21 10:44:16 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'state_updater': 'none', 'sub_entities': ['target_time', 'target_temperature', 'cook_switch']}
2022-01-21 10:44:46 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'state_updater': 'none', 'sub_entities': ['target_time', 'target_temperature', 'cook_switch']}
2022-01-21 10:45:16 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'state_updater': 'none', 'sub_entities': ['target_time', 'target_temperature', 'cook_switch']}
2022-01-21 10:45:46 DEBUG (MainThread) [custom_components.xiaomi_miot.sensor] Air Fryer Air Fryer Status: Got new state: {'state_updater': 'none', 'sub_entities': ['target_time', 'target_temperature', 'cook_switch']}
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (5 by maintainers)
Try master branch.
Solved by above commit for this device:
Still not fully working for all heater entities.