Type not working for HomeKit!

I have been scratching my head over this for a while! I can’t figure out what I am doing wrong. I have checked if it was my tabbing and if i take out ‘type’ it works, but when it put it back in it doesn’t.

Invalid config for [homekit]: [type] is an invalid option for [homekit]. Check: homekit->homekit->entity_config->type. (See /config/configuration.yaml, line 92). Please check the docs at https://home-assistant.io/components/homekit/

This is the error i get

homekit:
  auto_start: false
  filter:
include_entities:
  - climate.trane_model_xl624_ds_cooling_1
  - climate.trane_model_xl624_ds_heating_1
  - climate.trane_model_xl624_up_cooling_1 
  - climate.trane_model_xl624_up_heating_1
  - light.ge_14294_dining
  - light.ge_14294_kitchen
  - light.ge_14294_livingroomceiling
  - light.ge_14294_masterbedroom
  - fan.bedroom_ceiling
  entity_config:
climate.trane_model_xl624_ds_cooling_1:
  name: Downstairs Thermostat Cool
climate.trane_model_xl624_ds_heating_1:
  name: Downstairs Thermostat Heat
climate.trane_model_xl624_up_cooling_1:
  name: Upstairs Thermostat Cool
climate.trane_model_xl624_up_heating_1:
  name: Upstairs Thermostat Heat
light.ge_14294_dining:
  name: Dining Table lights
  #type: switch
light.ge_14294_kitchen:
  name: Kitchen lights
  #type: switch
light.ge_14294_livingroomceiling:
  name: Living Room Ceiling lights
  #type: switch
light.ge_14294_masterbedroom:
  type: switch
fan.bedroom_ceiling:
  name: Bedroom Ceiling Fan
  #type: fan

Figured it out. Its becuase you can only use type: for switches. This is weird to me as i would like to modify my dimmer switches to be only switches not lights. I don’t know if it makes sense

1 Like