Homekit Infused 5 (HKI) v2023.1.3

This has to do with the way HKI looks for templates. For what its worth, it is because of the name starting with .rgb. however I do have good news. Beta 5 (4.0.0e) is almost ready and fixes all of these kind of problems. And soooo much more.

The list of changes and new features is quite long this time, so have a little bit patience.

2 Likes

Homekit Infused 4.0.0e
*Hate me now, love me later! New Addons, Hundreds of fixes!

Changes:

  • Fixed all addons where setting title wouldn’t do anything.
  • The stack title is now hidden when title is undefined.
  • Fixed bug which prevented camera entities to use user defined columns
  • Search card broke in the last update, it has now been fixed (and renamed), use search: in your view_config to enable it on a view
  • Layout is a new addon and will let you control the layout a little bit better.
  • Columns can now be set either globally or per stack
  • The thermostat button has been improved with small tweaks to the label thanks to @Russell-A-Diehl.
  • The button badge used in view_selectors didn’t work properly this has now been fixed.
  • You can now choose to hide the fan speed controls in the vacuum addon
  • Changed the version sensors, they should no longer throw errors, thanks to @LaceNode
  • Almost all addons are reworked, you should reconfigure all your addons that are affected! (columns, devices, iframe, entities_card, search, climate, remote_control, xbox_controller, simple_weather, weather, persons, view_selector, map)
  • The devices addon now has a ton of new features available, you can now set multiple options per button and per stack, e.g. you can now change the name, icon of buttons without using customize.yaml
  • The climate addon now also houses thermostats and can no longer be set through the devices addon. New options are individual locks and ambient temperature sensors for each thermostat, sweet!
  • Media Players is now a separate addon and has some added options, you can choose between core and mini-media-player (this has limited options)
  • Graphs is now a separate addon and can be set as mini-graph or button, core graph will join this addon in the future.
  • Weather, Simple Weather, Remote Control, Xbox Controller, Entities Card, Map, Persons and iFrame can now have more than 1 card/stack per view and follows the same style as any other addon right now.
  • Some addons now support aspect_ratio and/or square: true/false statements
  • Fixed an issue where opening a light popup and going to the settings would show you an unreadable effects panel, thanks to @NiMa008
  • The RGB popup can now have its colors changed/removed/added and the number of rows and size of these buttons can also be changed, imagine having 9 preset buttons?
  • The header sensors are no longer restricted to 5 and you can now have as many as you want!
  • A beautiful new FindMy addon inspired by Apple and @LRvdLinden (see documentation)
  • Replaced light-entity with more-info-card (you should download this card from HACS, you can safely delete light-entity-card for now)
  • You can now choose when mixing custom_cards with addons whether you want the custom_cards to be rendered before or after the addons (note this does not fix the layout when using uneven cards!, mixing addons with custom cards still work best when using full addon views with full custom views, but hey at least it is possible:P )
  • Fixed an issue that was causing duplicate key errors
  • The Waze addon has been temporarily removed, since you can replicate the exact same behaviour with the iFrame addon. This addon will return as a full view addon in the future.
  • A lot of other small fixes

BREAKING CHANGES

  • You MUST update layout-card to the latest version, if you hadn’t installed this through HACS, make sure you install it.
  • While you are at it also install more-info-card from HACS.

Almost every addon has been reworked, at this point it is safe to say you are better off getting the latest config files from the latest release and start over! All upcoming addons will follow the same style so this change should be the last large change in v4’s lifecycle.
You MUST remove ALL the addons you currently have setup and start over with the new addons!!!

Hate me now, love me later. You are going to love all the new features v4 has in this beta and oh boy, some of these features have been asked over and over but was never possible with the old structure and code! So here you go!

The general config file has changed as well, either add the lines missing to your own file, or get the new file and overwrite your old one (note that this will wipe any changes you have made to that file). Just make absolutely sure you have the latest file with either of these methods!

If you solely used custom_cards then almost nothing has changed for you, except… you now have a few extra layout-options you can use without the need for setting custom_cards: advanced, also setting custom_cards to advanced has slightly changed. Please refer to the documentation.

A lot to take in, but I think this change is for the best, it is super consistent and now all addons follow the same style. Hate me now, but ohhhh, you are going to love me later once you got this all setup!

Read below how to update!

How to Update?
Make sure you update all the custom cards and addons to their latest versions!
Download the release and overwrite the following two folders AND one file:

  • /hki-base/
  • /packages/
  • /hki-user/config/general_config.yaml

Restart your Home Assistant!

NOTES:
This is a beta version, it has a lot of new features compared to v3 but is also not a widely tested version.
Please check out my personal repo for examples with the v4.x.x config GitHub - jimz011/homekit-infused at 4.x.x-personal

3 Likes

@UbiMaiden this update also fixes your issue with rgb lights.

1 Like

Homekit Infused 4.0.0 Release Candidate
*Battery Addon and some fixes, the last beta before public release!

Changes:

  • Reworked the battery addon, this addon no longer automatically fill your battery entities, however you do have control over which entities are shown and in which stack.
  • Fixed a bug where setting aspect_ratio wouldn’t change all buttons in the climate addon
  • Fixed a bug where custom_cards with the advanced type and position top would not be positioned at the top
  • Fixed a bug where layout-card tries to load parameters that aren’t set, this fixes layout-card issues on most views
  • Added opacity and spin as extra options to the devices addon
  • Climate documentation was missing some of the new features that were added in the last beta, this has now been updated accordingly
  • A lot of small fixes that are not worthy of mentioning

BREAKING CHANGES
The only breaking change this update is the battery addon, but it seemed that this didn’t really work properly anyways in the last beta.

Reminder: make sure you have updated layout-card to the latest version, if you are not sure then delete the old one and re-install it via HACS!

Read below how to update!

How to Update?
Make sure you update all the custom cards and addons to their latest versions!
Download the release and overwrite the following two folders:

  • /hki-base/
  • /packages/

Restart your Home Assistant!

NOTES:
Please check out my personal repo for examples with the v4.x.x config GitHub - jimz011/homekit-infused at 4.x.x-personal

1 Like

I installed all dependencies and installed HK Infused. Just before I restart the server, I did a customary configuration check and get the following error;

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

I have no clue. How do I correct this? Thanks for your help.

In your configuration.yaml remove the mode line under lovelace @torvare4

lovelace:
  mode: storage (this line)

Thank you for the quick reply. Much appreciated. Yes, I removed the mode line and it works now. It is time to explore. At the outset, I am amazed to see your smart and hard work and grateful for making it available with good documentation.

Popups on desktop dont look very well. Is there any way to improve it?
They are optimized for mobile only… width, 3 columns, etc.

Maybe, turning them in full width and height??

Please share a screenshot as to what you mean. And yes popups on the desktop might need a little work. But theming in general needs quite some work since so many has changed in the past 2 years. The current way of theming and coloring is more of stiched together. I will rewrite themes in the future, but there are so many things people desire that it is impossible for me to deliver these changes fast.

But it is on the agenda!


I think the best option here is to make the popup full screen. We are already getting a dark tint behind, so no information is lost.

I will probably rework the popup design, but unfortunately HA 2021.6.x poses quite some breaking changes to themes again (at least the beta does) so I need to revisit theming soon anyways.

But for now I will just make sure everything is working for the next HA version which will come soon.

In my case, popups are not working in mobile version… :frowning: Am i missing something?

Did you install browser_mod? Also did you clear cache on your mobile phone? And lastly is everything else up to date?

Unfortunately yes :<

How do you configure travel sensors’travel_time_to_work’, thank you

Set up a travel sensor in the Integrations settings of HA. I believe you have the choice between google, waze or here.

I did not find any configuration method for the’travel sensor’ on the Internet. Can you tell me how to search or configure in detail? thanks

Waze travel sensor: Waze Travel Time - Home Assistant

Follow the steps as the docs provide.

thank you

Did a clean install of this framework but running in multiple issues:

in the logs:
Logger: custom_components.hacs
Source: custom_components/hacs/operational/factory.py:58
Integration: HACS (documentation, issues)
First occurred: 4:09:22 PM (6 occurrences)
Last logged: 4:09:22 PM

  • thomasloven/lovelace-dummy-entity-row - Repository is archived.
  • thomasloven/lovelace-gap-card - Repository is archived.
  • troykelly/hacs-amberelectric - Repository is archived.
  • bieniu/ha-airly - Repository is archived.
  • mammuth/ha-fritzbox-tools - Repository is archived.

also Custom element doesn’t exist: button-card, mod and swipe card…