As you might have seen in the release notes, Home Assistant 0.53 brings a breaking change with regard to using custom UI
Upto version 0.52 custom state-card elements had to start with “state-card” and you used to put the suffix into custom_ui_state_card. For example: custom_ui_state_card: custom-ui
Starting from version 0.53 the state-card elements can have any name, so you should put the full element name into custom_ui_state_card attribute. For example: custom_ui_state_card: state-card-custom-ui
Upto version 0.52 custom_ui_state_card attribute also loaded the relevant HTML file from /local/custom_ui/<element_name>.html
Starting from version 0.53 you need to load the HTML separately:
I’m not sure what I’m doing wrong (there’s a surprize! )
I updated to 0.53.1 in hassbian.
I then followed the directions at your github for updating CustomUI using the automatic local method.
The files are all up to date (re-ran the update.sh file once more to verify). I even opened the state-card-custom-ui.html and the version there says “20170910”
I updated my configuration.yaml file following the activation instructions at your github using the manual local method:.
I think I’m going to say that it is (tentatively) solved.
I saw in the comments section of the release announcement that someone recommended to clear the browser cache to fix a (possibly?) similar problem using ctrl-F5.
I did that and reloaded HA and everything came back including the CustomUI stuff.
But then I reloaded again and it all went away again.
Then I went to the ‘settings’ page and cleared all browsing data (including cookies) and now I’ve reloaded HA several times and it is all working again…for now.
I did it on a second PC that was also not displaying correctly and I initially cleared all browsing data EXCEPT cookies but when I reloaded again the CustomUI stuff disappeared again. I cleared everything again this time including cookies and it now seems to be working on that PC, as well.
Am I right in assuming that we don’t need to load the extra_html_url if we are using the hosted version? I have the following in my config and don’t have the extra_html_url part and everything is still working.
And as soon as I commment out the !include customize_glob in the config, they work fine (independently) again.
The other issue is that I don’t get a customizer panel shown. I’ve included the following to the config:
frontend:
extra_html_url:
- /local/custom_ui/state-card-custom-ui.html
customizer:
custom_ui: local
I’ve only used it for lights, but everything else I’ve tried works just fine. I have installed the files locally with your script, and I’m on version 20170927 (on HASS v0.54.0 on a RPi3 in virtualenv). Any ideas?
The panel is now a sub-page of the config panel which you must enable in configuration.yaml as:
config:
I should update the screenshot…
As to linked lights - I have no idea - try to make the minimal config that still causes the problem:
Could slider_theme be removed?
What if you apply state-card-custom-ui to just those two light? What if you apply it to just 1 light?
Sure enough, removing the slider_theme “unlinks” the lights. More specifically, when it is applied to one of the lights (bedroom light), it acts up.
But I think it was actually an error in one of the hue apps. Here the bedroom light was set to the living room group, and the other “linked” light was set to bedroom. So not an issue with your custom ui, that works perfectly. The issue with the discrepancies between two hue apps just, weirdly, only manifested when using the slider_theme on the bedroom light.