Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration broken after upgrade #269

Closed
cvinhaes opened this issue Mar 27, 2024 · 5 comments
Closed

Integration broken after upgrade #269

cvinhaes opened this issue Mar 27, 2024 · 5 comments

Comments

@cvinhaes
Copy link

Describe the bug
Receiving the following error after upgrading from v9.8 to v9.25 (tested with 9.26, same issue):
ERROR (MainThread) [homeassistant.setup] Setup failed for custom integration hubitat: Unable to import component: cannot import name 'UTC' from 'datetime' (/usr/local/lib/python3.10/datetime.py)

To Reproduce
start with a working configuration of home assistant v2023.4, hacs-hubitat v9.8 and hubitat C5 v2.3.8.134.
use HACS to upgrade the hubitat integration component to v9.25
now I receive the error in the log and the integrations won't load.

Screenshots

no screen message, just logged error.

Environment

  • Home Assistant version:
  • Integration version:
@jason0x43
Copy link
Owner

You’re running HA 2023.4?

@cvinhaes
Copy link
Author

That is correct:

Capturar

You’re running HA 2023.4?

@cvinhaes
Copy link
Author

Nevermind, I've updated HA to 2023.12 and now it works. I could just no find the version compatibility chart anywhere in the docs, but maybe I missed it.

@jason0x43
Copy link
Owner

Unfortunately the extension's version compatibility isn't well defined. I've been testing against current HA and HA from 3 months ago. I should probably at least shoot for supporting the last 6 months, but I don't want to end up maintaining a bunch of different code paths for different versions of HA. 🙂

@cvinhaes
Copy link
Author

Hey, no worries! This integration is a huge life saver for me and I cannot complain at all. Before that I was using a lot of http calls do have the same job done. 100% functional after upgrading HA to v 2023.12, thanks for making it available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants