Homekit Infused 5 (HKI) v2023.1.3

Hi, when trying to install the framework, i have this warning :

Package hki_configuration setup failed. Component frontend has duplicate key 'background-image'

My themes folder is not in the package folder, but in the config folder. any clue? thxs

Ok i applied the workaround and now i have HKI installed.

Here is the screen in the “Homekit Infused Panel”:

If someone can help :slight_smile:

the default notifications.yaml show errors when i want to edit (nothing edited yest)

@Djal could you for now replace line 46 and replace the word state_not to state?

That way it will render nothing (since that state doesn’t exist) and there are no other cards configured.
It would be like if you had no notifications at all, the problem is, if you delete all notifications it will throw an error that at least 1 card needs to be configured.

Try that please and reload lovelace afterwards. Next up, best to restart HA to be sure and then open your home assistant instance in an incognito windows (to make sure cache isn’t the problem).

thxs for answering. you mean for my last message right? or for the t.setconfig error?

Indendation error will still going on even after changing the line 46 .

EDIT: line 46 edited, HA restarted. t.setconfig error seems to be gone, at least on my several browser. except on the ios app it’s still going. (even after ios restart)

@Djal iOS is a bitch when it comes to cache. Please check on safari first if it works, if it does then you can do one of the following things

OPTION 1:

  1. open the settings from the HA app and click on clear cache (it should be somewhere in the app)
  2. if all went well this should have worked

OPTION 2:

  1. hardrefresh lovelace by opening the following file homekit-infused.yaml.
  2. save the file without changing it, if you can’t save just put a space at the bottom of the file and save it
  3. refresh the ios app by pulling down to refresh

OPTION 3:

  1. remove the mobile_app integration belonging to your phone in HA (settings > integrations)
  2. uninstall the HA app from your phone
  3. restart HA and reinstall the app on your phone
  4. login with the app (don’t forget to accept the 3 permissions at the end)
  5. if all went well you are now done with a cleared cache

I hope any of this helps

Option 2 did the trick.

thxs for spending time to make a complete answer.

Homekit Infused 3.6.2
*Fixes, Footer and more Fixes!

Changes:

  • The footer can now be enabled/disabled (great for when using multiple dashboards)
  • Fixed an issue where the footer would show mirrored text on other dashboards
  • The footer can now have it’s icon direction changed (icons can now start either from the right or left side, ideal for left/right handed modes)
  • Hiding the footer text should allow for more visible icons when using more than just the 2 pre-programmed icons
  • The footer text can now be either the date, time, logged in user or completely hidden
  • Person and Custom views can now be added to the footer (thanks to @deNicola)
  • Footer icons can now be changed
  • All the new footer options (with exception of the icons) are instant and can be accessed through the HKI Settings in the UI
  • Changed the default menu item (this would look bad with the footer turned off, since the sidebar uses the same icon)
  • Fixed an issue where setting the alarm wouldn’t work at all since last update (both in lovelace, and in automations since both were affected by this error)
  • Compatible with the upcoming HA version, READ THE BREAKING CHANGES BELOW (thanks to @petro for the fixes and @burningstone for mentioning them to me)
  • Fixed an issue where the HKI Settings view would not scroll down far enough to select the themes all the way down in the dropdown menu (this might still be an issue for small phones, for them I will suggest editing the themes on a larger screen)
  • Updated my personal repo for all up-to-date examples
  • Numerous other small Bugfixes

BREAKING CHANGES:

  • The footer is now off by default, to enable it enter the HKI Settings and enable it!
  • The following file has had changes and will overwrite the one you have, if you have made changes to that file, please note that you will have to do them again! /homekit-infused/user/config/footer_config/yaml
  • Lovelace_gen has been edited and is for the time being not up to date on HACS. If you just did a full copy/replace from the update you won’t need to worry about this, if you did each file manually then make sure you replace the following file with the one from the update package. /custom_components/lovelace_gen/__init__.py

WARNING: This might not work with the current HA, this file is meant for the upcoming 2021.4.x version. If your HA doesn’t load after this update, please reinstall lovelace_gen. When 2021.4 releases you can safely copy and replace this file!

Notes:

  • Please visit the following page to find out all the new stuff you can do with the footer (as well as some warnings when using it with multiple dashboards) Footer Documentation

How to update:
I will first stress out that you will have to make a backup of your current setup (as you should always do).
Drag and drop all the files into the root of your Home Assistant setup (the paths must match so if you have done it right it will ask you to overwrite files, click yes and the update is complete) Now restart your Home Assistant.

You can find update paths for each version here https://github.com/jimz011/homekit-infused/tree/updates/

1 Like

Hi
Sorry for this but…

  • Is there any chance for a video tutorial for setting up the basics of your excellent work?

The reason for asking is that I’m new to HA, but not new to computers or basic coding, and the HA general framework/how it interacts with different parts of it self is “cumbersome” to say at least.

I’m willing to buy you, or anyone else for that matter, a coffee if this could be done =)

Best regards from Sweden

Well I might have time for a video tutorial soon. I won’t promise anything since I have promised this in the past :stuck_out_tongue: and some people are waiting for video’s ever since I had released V2 which is over a year back :stuck_out_tongue:

Keep an eye on this channel for video’s but I will get to them soon.

Homekit Infused 3.6.3
*Fixes and navigation_bar!

Changes:

  • The footer has been renamed and is now called navigation_bar
  • The navigation_bar has new options, you can now choose between header, footer or off, when set as header it will act like the standard HA header but with the sweet options that you can already select in HKI, this is persistent on ALL other dashboards. So if you want a clock in the navigation bar on your other dashboard? Well just enable it here :stuck_out_tongue:
  • The menu can now be hidden from the navigation_bar (warning, this will make navigation extremely hard if you don’t replace it with your own buttons). The menu button is enabled by default.
  • Fixed alignment of text when icons were set on the left side (this affected date and username) and should now look the way it should.
  • On other dashboards with a single view and with the HKI navigation bar enabled will now hide the title
  • Note from previous release: The about view has been updated and had all its links fixed, you can now open a FR/Issue from the app again
  • Other small fixes

BREAKING CHANGES:

  • The footer has been renamed to navigation_bar, the navigation_bar and its options have been reset, if you did make changes you will have to do them again. You can safely remove the following file after updating homekit-infused/user/config/footer_config.yaml To enable the footer again go to the HKI Settings.
  • REMINDER: If you have installed one of the last few updates you might have found that it included the following file custom_components/lovelace_gen/__init__.py. Do NOT use this file if you are using HA 2021.3.x or lower! This file only works for newer versions like HA 2021.4.x. The component was included so that people that are running the beta can still enjoy HKI. When 2021.4.x releases this week make sure you copy this file since without this modified lovelace_gen file HKI will NOT load on newer versions!

How to update:
I will first stress out that you will have to make a backup of your current setup (as you should always do).
Drag and drop all the files into the root of your Home Assistant setup (the paths must match so if you have done it right it will ask you to overwrite files, click yes and the update is complete) Now restart your Home Assistant.

You can find update paths for each version here https://github.com/jimz011/homekit-infused/tree/updates/

1 Like

Like the update and the choice we have about using the footer navigation bar.
I still have a strange issue. If I want to disable the Navigation Bar entirely, I still see the bar at the top. See image 1/2. Also, since update 3.6.0 I have some weird automatic layout weirdness. See image 3. Anyone have any clue?

Image 1 (Navbar off):

Image 2 (Navbar bottom):

Image 3 (Layout):

@marvandorth Hmm, the layout should be right as nothing has changed on that department. else try redownloading my layout-card file from my repo (don’t install layout-card in HACS!!!). Remember to ABSOLUTELY clear cache afterwards, as cache is a b*tch.

If you turn ‘off’ the navigation bar, it will become the default navigation bar that is included in HA core, no changes, no styling just plain ol’ nav bar as was intended by the HA team. This is particularly useful when you have troubles running multiple dashboards. Hiding the bar is currently not possible and done for multiple reasons, which the most important is that when treated wrong, there wont be any navigation at all. This is to prevent unwanted user error.

REMINDER

The latest version of HKI has an updated lovelace_gen component. Don’t forget to replace yours with this file when you update to Home Assistant 2021.4.x or above!

It doesn’t matter if you do it before or after the HA update, just remember to restart Home Assistant after you have replaced the file and don’t forget to clear your cache!

Good Luck

I have the HKI installed. But I can not get a grip on how to add lights or temperature cards…
Where can i add these? Is HKI only editable through yaml-code? No GUI?

No GUI unfortunately, its basically meant to customize yourself just like normal lovelace in YAML mode.

You will have to use any of the addons on the list for this to work. Note that the current auto fill templates will all be deprecated in the upcoming version. Though that might take weeks. You can find examples on my personal repo on how to add addons on your views and since I dont use autofill myself this will remain true even after the update.

However the upcoming version will have easy mode available. It can do full automatic view filling! Almost no configuration required and no install of addon cards from my repo is needed in the upcoming version. (Though experienced users can still use it!)

2 Likes

This is great news for me…
…cause I’ve been trying out HA for the first time, and probably modded the configuration file all to hell :fire:

Looking forward to the next version then!

Thanks Jimmy for your continued hard work! :clap:
ive just upgraded from 3.5.3 into 3.6.3 and followed the upgrade instructions.
seems that the navigation bar is missing even though its configured in the HKI settings.
Any idea or direction where to lookup?

thanks for the time and effort!

Did you copy the themes folder as well? Make sure you have the latest themes folder.

If you do have the latest themes, try reloading themes via a service or via the HKI/HA settings

Seems that the themes folder was corrupted for some reason, re-copy them did the trick!
Thanks!