Closed enkama closed 2 years ago
Change needed due to this PR https://github.com/home-assistant/core/pull/72977
+1 im getting the same issue
Fixed in v2.0.
2.0 throws a new error for me:
Setup failed for custom integration presence_simulation: Unable to import component: No module named 'homeassistant.components.recorder.db_schema'
I guess you are using an earlier version than 2022.7. v2.0 should only be used with 2022.7 and more (it is written in the description of the version). Please go back to a v1.x version (I couldn't find the way to only allow the download of v2 version for >= 2022.7 versions)
Oh I misread. I'm on 2022.6.7, not 2022.7. Sorry!
No problem. I found a way to make it compatible with old and new version of HA -> 2.1 published
Here is the log
Setup failed for custom integration presence_simulation: Unable to import component: cannot import name 'States' from 'homeassistant.components.recorder.models' (/usr/src/homeassistant/homeassistant/components/recorder/models.py)