I integrated Xiaomi Mijia Smart Thermometer into HA. It has the following entities:
sensor.xiaomi_battery_level
sensor.xiaomi_battery_voltage
sensor.xiaomi_humidity
sensor.xiaomi_temperature
I would like to have it integrated into homekit as well. The configuration I used is:
filter:
include_entities:
- sensor.xiaomi_temperature
entity_config:
sensor.xiaomi_temperature:
linked_battery_sensor: sensor.xiaomi_battery_level
linked_humidity_sensor: sensor.xiaomi_humidity
However, the configuration seems to be not valid due to linked_humidity_sensor:
The system cannot restart because the configuration is not valid: Invalid config for [homekit]: [linked_humidity_sensor] is an invalid option for [homekit]. Check: homekit->homekit->7->entity_config->linked_humidity_sensor. (See /config/configuration.yaml, line 55).
Can linked_humidity_sensor be used for any device or it must be some specific device_class?