jimz011 / homekit-infused

Homekit Infused 5 2023
https://jimz011.github.io/homekit-infused/
Other
868 stars 138 forks source link

Package hki_configuration setup failed. Component lovelace has duplicate key 'mode' #210

Closed Epimedium closed 1 year ago

Epimedium commented 1 year ago

Hi, Today I wanted to install home kit infused. After following all steps I got this when testing the yaml files before a restart:

"Package hki_configuration setup failed. Component lovelace has duplicate key 'mode'"

When I remove "homeassistant: packages: !include_dir_named packages/" from the configuration.yaml file then the message disappears and a restart is possible. But then of course homekit infused won't start.

I installed version 2023.1.2

Any thoughts? Thanks, Erik

jimz011 commented 1 year ago

Hi Erik,

You probably have this in your configuration.yaml file

lovelace:
  mode: storage

by removing the mode line it will probably fix the issue you have.

Epimedium commented 1 year ago

It works now thanks!