I just did a wipe and restore of HA due to some %^&*@# ZHA issues (Oh! The Zigbee!).
That snapshot was about two weeks old, so I followed that by overwriting all of the files and directories in configs in the dwains-theme directory to make sure I had the latest edits. But now I am seeing a whole bunch of these warnings in my HA log:
To be clear, I didn’t have these log warnings before I did the restore.
Since everything seems to work just fine, I suspect what I seeing is some kind of artefact of the snapshot restore and then DT config update. But I’m a bit of purist when it comes to clean-ish logs and would like to figure out what’s at play here.
Is there some way I can either regenerate these apparently autogenerated theme files, delete them or do something else to resolve this?
Not a huge issue but I can’t figure out what’s safe to touch and what isn’t with these files.
Now, any edits I make to rooms.yaml are not reflected in the UI. No amount of insertions, deletions, config refreshes, browser cache refreshes or HA reboots will change the DT UI. It’s really odd.
I suspect this and the odd log warnings I posted upthread are related, I’m just not sure how.
Updated: It turns out both this lack of refresh and the log warnings were tied to the contents of a $SBV$ directory in the general DT configs directory.
I nuked its contents, restarted HA, refreshed the DT config and everything is happy again. No more log warnings and the UI now reflects the rooms.yaml.
An odd one for sure, but figured I would document this for future searches.
This news will mean that my theme will not work anymore in further HA releases. I’m now looking into different options like; making a own custom header, using the default HA header or fully stop working on my theme.
I will let you all know asap what the outcome is.
As for now you can install HA 0.116 with my theme.
Isn’t there a concern with CH and 0.116 that CH will cause the card to be rendered multiple times, which degrades performance? On that basis, I’d recommend sticking to 0.115.6 at the moment, and moving to 0.116 once a suitable alternative to CH has been found - hopefully in core HA lovelace!
It has mainly to do with the advanced features of CH, which Dwainstheme doesn’t use. He only uses hide_header and show_footer from CH which are currently not affected.
The problem is as maykar stated, that he has added every single FR making CH bloated piece and way to much to maintain single handed. I understand him quitting, and hopefully he can add at least the hide header functionality to core (since he does work on core).
No - the excessive FRs are the reason why @mayker will no longer be able to support further development of the card - I’m talking about this (for those not on Discord / HAA):
jimz011 Yesterday at 8:46 PM
It still works here on 0.116
maykar Yesterday at 8:47 PM
it will work for the most part, but there will be performance issues and for most people not using advanced css it will break
The major issue with CH and 0.116 is that a recent change in how cards are rendered causes CH to trigger them to render multiple times."
So yes it still works - but there is a performance issue. As I say, hopefully the main point of the card - to hide the default header - can be moved to core Lovelace as maykar is now working in that area.
Fingers crossed that the base functionality of CH will get migrated to core.
The existence of Dwain’s Theme was the last piece of the puzzle in my strategy to migrate to HA away from my previous Vera system of many years. Clean, flexible, and responsive were the key selling points for me and the WAF is off the charts.
So here’s hoping that DT continues to evolve and that a solution to replace CH emerges. Both @dwains and @mayker have worked hard to get us this far, it would be a shame to have this be the end of the road.
Hey there Dwain! Please don’t give up on the theme. It’s the best one out there and the main reason why i migrated my whole Scenario to HA.
Also, can i ask for a little help?
I have a input_number entity that controls the brightness of some leds on my living room but i couldn’t figure out how to add it to a room as a “sliding bar”. I could add it as a light, but the theme tries to “turn it on and off”. Other options wont work, nothing happends. Any advices?