2023.4: Custom template macros, and many more new entity dialogs!

For those of you like me running HA Core in Python virtual environment on Raspberry PI and facing an issue with ha-av package related to libavformat, libavcodec, etc while updating, you can solve that by installing the following packages:

sudo apt-get install libavformat-dev libavdevice-dev
2 Likes

Thanks for the work to improve templating with the reusable macros. Very handy! I can’t wait to try it.

Guys, i used Kiosk mode to hide the header, but i think its broken
is there a new way to remove the header bar ? Kiosk mode (hacs) is unsupported anymore
Uncaught TypeError: Cannot read properties of null (reading 'querySelector')

3 Likes

I have 3 scrape sensors defined in yaml, the release notes indicate this functionality is deprecated and the sensors are imported. I don’t see the sensors in the settings UI. Also, there is no message in the log indicating I need to remove the deprecated yaml. The sensors are still updated.

Am I overlooking something or is this incorrect behaviour?

Great work everyone but the dialog for the alarm looks very silly to me with all the waste of space to just create a line for some reason. Could some more responsive design be used for HA?

4 Likes

You will get a performance improvement on all database engines after the background migration finishes. You won’t see the size decrease until the next auto repack on the 2nd Sunday of the month.

Unless you need to access the data externally, sqlite is likely just fine for most use cases.

4 Likes

New templates & macroses seem very promising, especially macroses.
If “relative_time” is automatically updated every minute - it would help a LOT with custom cards like “button-card” & “template-entity-row”.
As for new dialogues - same as said a month ago: nice but not very useful for experienced user, especially on a desktop screen.
Have not installed the release yet, heard about incompatibilities with button-card, card-mod & decluttering-card.
Also, full changelog have not read yet.

Great job!
But was there no fix for the broken Verisure integration?

Seems to have broken a bunch of my integrations (about 4)… maybe a python 3.10 issue? I am getting this in the logs for several integrations:

... ERROR (MainThread) [homeassistant.config_entries] Error importing platform config_flow from integration broadlink to set up broadlink configuration entry: cannot import name 'QueryMessage' from 'dns.message' (/usr/local/lib/python3.10/site-packages/dns/message.py)
1 Like

HACS Kiosk mode broken

Logger: frontend.js.latest.202304050
Source: components/system_log/__init__.py:257
First occurred: 4:17:18 PM (9 occurrences)
Last logged: 4:27:09 PM

http://172.28.48.39:8123/hacsfiles/kiosk-mode/kiosk-mode.js?hacstag=497319128178:1:5302 Uncaught TypeError: Cannot read properties of null (reading 'querySelector')
http://172.28.48.39:8123/hacsfiles/kiosk-mode/kiosk-mode.js?hacstag=497319128178:1:5206 Uncaught TypeError: Cannot read properties of null (reading 'shadowRoot')
1 Like
1 Like

Hi,
I was using card mod configuration in theme, in order to move the header to the bottom. Seems to be broken now.
Any suggestion for the solution?

1 Like

I just pulled it
docker pull ghcr.io/home-assistant/home-assistant:2023.4

Yeah… my frontend with cardmod is also screwed up now with new update… :frowning:

I got kiosk mode working using the guidance here. BREAKING: HA 2023.4 (beta) no longer uses app-drawer-layout · Issue #27 · NemesisRE/kiosk-mode · GitHub

Basically removing the HACS provided kiosk-mode.js and adding the replacement one downloaded from gist.

1 Like

The same problem. I have no idea how to get the header down.
If you find a solution, let me know.

Now on to try to fix the background colour for my Dashboards. It is not respecting what is set in the theme. My Dashboards used to have a dark background colour from the theme but now they are white.

Shakes fist at sky… WHY

Nice!
Gonna hold off on this one, because the RCs caused my database to have a ton of collisions with indexes, trouble inserting rows, and all the usual fun that a new release of HA comes with.
Excellent stuff :roll_eyes:
Also, had lots of fun trying to figure out why my iframe dashboard wasn’t loading. Turns out the card was just set to be like 1 pixel tall or something. Great work!

1 Like

This is really getting frustrating… every update again things are falling apart…
Now my cardmod modifications (and its not that much)
But it depends on important things like home-assistant-main, app-drawer-layout, hui-masonry-view etc…

This fundamental important structure changed… maybe add these things also to breaking changes?

Also ive got (without any cardmod theme) double scrollbars?

1 Like