Generic hygrostat and Homekit presentation

I think Generic hygrostat should have attribute current humidity. When I use Homekit, it shows Current Relatve Humidity is zero percent.

I think we have 2 options:

  • One is Homekit con add a sensor to an attribute property of humidifier
  • One is Generic hygrostat intergration should show current humidity as an attribute sensor.

The Generic hygrostat - Home Assistant (home-assistant.io) is new intergation in 2021.8 HASS

For anyone researching, I solved this issue by manually setting up a new homekit device in the config.yaml file. You can specify a linked humidity sensor there.

homekit:
  - name: yyyyy
    port: nnnnn
    mode: accessory
    filter:
      include_entities:
        - yyy.yyyyy
    entity_config:
      yyy.yyyyy:
        linked_humidity_sensor: xxxxxxxxxx