Hey,
I am trying to get some sensor data from ESPhome to appear in Homekit.
For example I have this in my config.
homekit:
filter:
include_entities:
- cover.garage_door
- sensor.ensuite_humidity
While the Garage door appears, the sensor does not. Look around it appears that I need to set a “device_class” on this sensor and set it as “humidity”.
How ever since i am getting the sensor data from the ESPhome intergration, I cant seem to set “device_class”.
ESPhome Config
sensor:
- platform: xiaomi_mijia
mac_address: 58:2D:34:34:E8:73
temperature:
name: "Ensuite Temperature"
humidity:
name: "Ensuite Humidity"
battery_level:
name: "Ensuite Battery Level
Home Assistant output for sensor.ensuite_humidity
unit_of_measurement: %
friendly_name: Ensuite Humidity
icon: mdi:water-percent
Add to that I tried to use the customisation override in the settings, and while it will set the device class, this doesn’t seem to be persistent/work constantly and doesn’t seem to correct the issue with Homekit.
Is there a way I can get the sensor data from ESPhome to appear?