which worked fine too, but I thought the states() style would prevent the unknown errors at startup. Unfortunately not.
this setup has worked before, without any issue, up to HA 114.4 but as of HA 115, I've had enormous issues with the templating (or so I believed)
I've now been able to establish this t-e-r setup is caught in some kind of loop or race condition at startup, causing the startup process to take very long time (over 8 to 10 minutes) and also causing other integrations to give up.
Simply taking the t-e-r card config out, takes out the startup errors obviously, and speeds-up the startup to just below 4 minutes. Still not what is was on 114.4 but getting close again.
There are various issues with the new templating engine in HA 115, this custom card probably suffers those too, or, causes issues with it.
Just to be complete: I can simply load the card after startup, and all shows fine, as before. So no errors in the sensors themselves, or the yaml configs of the decluttering card or t-e-r configuration.
using a t-e-r setup based on sensors made by a python script (which runs a HA startup) there's huge amounts of errors:
and
repeatedly, in various forms of the templates, for all sensors I have using this particular setup in a card.
config for the card:
and decluttering-card:
used this before:
which worked fine too, but I thought the states() style would prevent the unknown errors at startup. Unfortunately not.
this setup has worked before, without any issue, up to HA 114.4 but as of HA 115, I've had enormous issues with the templating (or so I believed) I've now been able to establish this t-e-r setup is caught in some kind of loop or race condition at startup, causing the startup process to take very long time (over 8 to 10 minutes) and also causing other integrations to give up.
Simply taking the t-e-r card config out, takes out the startup errors obviously, and speeds-up the startup to just below 4 minutes. Still not what is was on 114.4 but getting close again.
There are various issues with the new templating engine in HA 115, this custom card probably suffers those too, or, causes issues with it.
Please have a look.
I've documented more of this in the community here
Just to be complete: I can simply load the card after startup, and all shows fine, as before. So no errors in the sensors themselves, or the yaml configs of the decluttering card or t-e-r configuration.
seems a timing issue.
thanks