After this HA update , I have the following errors in the log
Logger: homeassistant.helpers.frame
Source: helpers/frame.py:74
First occurred: February 3, 2022, 12:04:18 AM (10 occurrences)
Last logged: February 3, 2022, 12:04:21 AM
Detected code that uses str (diagnostic) for entity category. This is deprecated and will stop working in Home Assistant 2022.4, it should be updated to use EntityCategory instead. Please report this issue.
Detected code that uses str (config) for entity category. This is deprecated and will stop working in Home Assistant 2022.4, it should be updated to use EntityCategory instead. Please report this issue.
For anyone having trouble with the Energy Dashboard after the update, here seems to be the solution.
Will now also test whether it works again afterwards.
Is there a dedicated thread about moving integrations to UI?
I dislike a trend of replacing yaml-config by UI-config.
IMHO adding a UI-config should not mean a disabling of yaml-config.
The latest HA moved a Version integration to UI; with yaml I could use a “scan_interval” , now I cannot.
This is a small example of “UI has less opportunities than yaml”, there are many of them with other integrations.
Decision is done and dusted a long time ago, it isnt going to change so any posting about it will just be noise and wont do anything. Suggestion, move on
Yes just add diagnostics to your config. I also opened a ticket to silence it when we don’t have it enabled and they fixed that. Which should be in one of the next releases.
You and @Ildar_Gabdullin can turn off polling on the integration, then make an automation that polls the entity in question at a defined period using homeassistant.update_entity.
trigger:
- platform: time_pattern
seconds: "/30"
action:
- service: homeassistant.update_entity
target:
entity_id:
- list
- out
- entities
I think is a more elegant solution than before, this way you can have one automation for all those that require scan_intervals all polling at the same time or different ones at different time.
I like a release for cleaning up and streamlining. There has been a lot of talk about breaking changes, this time, while none of it affects me. Would it be an idea to have a “info” button besides the upgrade-button, which informs about changes in your installed integrations? Or even better, changes in entities/syntax that is in your particular install? I know there is a integration that checks if you can install the newest version, maybe I am not using it right, but i dont feel it catches things like this all that well.