i’m using HA for round about 1 Year but im really new in this community.
Since yet i could solve all my problems with existing threads. But now i need your help.
Since the installation of home assistant core 2022.7.0 i get some issues.
When i check the configuration i get the following message and i can’t restart HA:
Package variablen setup failed. Component var cannot import name ‘Events’ from ‘homeassistant.components.recorder.models’ (/usr/src/homeassistant/homeassistant/components/recorder/models.py)
the 2nd issue i get is from the integration “auto_backup”. It wouldn’t load anymore.
Setup failed for custom integration auto_backup: Unable to import component: cannot import name ‘X_HASSIO’ from ‘homeassistant.components.hassio.const’ (/usr/src/homeassistant/homeassistant/components/hassio/const.py)
My system is:
Rasperry PI4
Home Assistant 2022.7.2
Supervisor 2022.07.0
Operating System 8.2
Frontend 20220707.0 - latest
Had my RPi4 crash/being not available. After powercycling I’m getting:
history (Show logs)
energy (Show logs)
filter.sensor (Show logs)
default_config (Show logs)
each of them along the lines of: Setup failed for logbook: (DependencyError(...), 'Could not setup dependencies: recorder') Setup failed for history: (DependencyError(...), 'Could not setup dependencies: recorder') Setup failed for energy: (DependencyError(...), 'Could not setup dependencies: history, recorder') Setup failed for default_config: (DependencyError(...), 'Could not setup dependencies: energy, history, logbook')
Running the official MariaDB addon (v2.5.0)
Edit: Commenting out the recorder setting in the config helped for now.
I’m using the var integration for a while, but after some HA upgrades, and if I try to restart HA I get this message:
The system cannot restart because the configuration is not valid: Component error: var - cannot import name ‘Events’ from ‘homeassistant.components.recorder.models’ (/usr/src/homeassistant/homeassistant/components/recorder/models.py)
This what I have configured in my configuration.yaml
As already mentioned in this topic, I have also updates all my integrations.
I have also removed and reinstalled several times my var integration, but still no results!
Hello,
I have the same issue.
I have all integrations and HACS up to date, but the logs says:
The following integrations and platforms could not be set up:
* history_stats.sensor ([Show logs](https://192.168.1.xx:8123/config/logs?filter=history_stats.sensor))
* [history](https://www.home-assistant.io/integrations/history) ([Show logs](https://192.168.1.xx:8123/config/logs?filter=history))
* [logbook](https://www.home-assistant.io/integrations/logbook) ([Show logs](https://192.168.1.xx:8123/config/logs?filter=logbook))
* [energy](https://www.home-assistant.io/integrations/energy) ([Show logs](https://192.168.1.xx:8123/config/logs?filter=energy))
* [default_config](https://www.home-assistant.io/integrations/default_config) ([Show logs](https://192.168.1.xx:8123/config/logs?filter=default_config))
Please check your config and [logs](https://192.168.1.xx:8123/config/logs).