What you can try is opening up that configuration file again hki_configuration.yaml and change all the lines that contain this ../../ to ../../../
Make sure you get all of them in this file. You might need to check the other files as well, but I donât think they reference other files (but I am not sure so check to be sure).
It is kind of a pain since you will have to repeat this step after each update. On the other hand, I do not push updates very often so it might work for weeks or months. Just keep it in mind if you are going to update.
Edit: only for the files within the packages folder!
Is it possible to add a switch button to the light Popup card?
Background:
I use the Circadian Lighting integration and it would be nice to have the button to activate it directly in the popup card. That prevents me to add an extra button for it.
Set the type to rgb or color-temp this will force the button to take either of the two presets.
The settings button should take you to all options in case that isnât enough.
The Button should be for a different entity.
For example, the light entity is âlight.spots_wohnzimmerâ, and the second entity for Circadian Lighting
is âswitch.circadian_lighting_spots_schlafzimmer_hclâ
Ah no, you can add it if you create the popup manually. It is quite some work.
I solved this differently by adding a view selector with circadian (I use adaptive lighting instead, but the base was circadian lighting so I am guessing it functions similarly).
So I made an extra category that just handles adaptive lighting (as in general it is always turned on here anyways and most of the time when it needs to turn off I automated it).
thank you for your quick response. Do you have some advice for a good tutorial on how to create a popup manually?
I was also thinking about adding a button for adaptive light, but itâs a few clicks more.
In my opinion, it would be better to have it right there where you can also set the color temperature.
I understood what you meant. The thing is, I think most people will have adaptive lighting (if they even use it at all) per room or per sets of lights instead of each light having a separate button for adaptive lighting.
What it means is that I canât really create something for it that would suit everyones needs. Creating your own popup is an option, but you would have to do it for every button that you want to have a different popup (those popups do have quite a few lines of code).
What I could try is adding a slot for an extra card in the settings page. But as I am not the creator of the popup card I found that using other cards than the ones currently supplied do not always tend to work nicely.
Hi, Iâm having some issues with basic HKI functionality. Iâm trying to access my profile but whenever I click the button nothing happens. This is a base installation and I havenât been able to reproduce it on my friendâs installation either.
(I click the rightmost button, nothing happens.)
Going into the config.yaml file I didnât touch much except edit the profile menu to be simpler, it now looks like this:
profile:
markdown: >
This is a Test
and the visual code linter makes it look like this:
In your HKI tutorial video, for example, that angle bracket is orange, so I feel like that may have something to do with it, but Iâm using everything pretty much out of the box. Any ideas? Iâm drawing blanks here.
edit: On your next video you say that this is an issue with button-card, but I followed the fix by copying the files from the fixes repository, and Iâm still having issues.
The other buttons do not open a popup. I had button-card installed with v3.5.0-dev.1, which shows up as the only beta for me, and when that didnât work I replaced button-card.js and button-card.js.gz with the ones in your repository.
Edit: I redownloaded button-card on HACS for the third time, this time it works. Go figure.
Probably a caching issue. If something like that happens in the future try opening an incognito window (as they have their cache cleared for sure). If it works then you will know at least that the problem was cache.
Thanks for the advice. Iâll check that if it happens again.
Next question: Is there a way to have the default HA theme be one of the custom themes? Iâm working on a custom theme and I keep having to enable the theme on my profile every time I restart.
Right now I have an automation that feels like it should work, but doesnât.
alias: Set HKI Dark Theme on Start
trigger:
- platform: homeassistant
event: start
action:
- service: frontend.set_theme
data:
name: HKI Custom Dark
mode: single
No those settings are Global (at least if you have selected the backend-selected theme on your profile). But if you havenât changed this setting on a profile before then it will already have this selected by default.
I do have to mention that on some iOS devices it doesnât work at all and ONLY this profile setting will work (has to do with the system theme, whether it is light or dark at that moment and I do no longer possess Apple devices to test it).
Now see, I definitely have that setting enabled on my profile, but I just tried it on my Android phone and the theme on startup was the HA default. My friend on his own server is reporting the same on both Android phone and tablets.