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

cannot import name 'UnitOfTime' from 'homeassistant.const' #58

Closed
sciorty opened this issue Feb 18, 2023 · 1 comment
Closed

cannot import name 'UnitOfTime' from 'homeassistant.const' #58

sciorty opened this issue Feb 18, 2023 · 1 comment

Comments

@sciorty
Copy link

sciorty commented Feb 18, 2023

I connected an Arduino with a CC1101 and evofw3 on the Raspberry on which I run home assistant (2022.12.4).
Since I just started I only configured it as follows:

ramses_cc: serial_port: /dev/ttyACM0 # or some other serial port name

But on restart I got:
Logger: homeassistant.setup Source: setup.py:338 First occurred: 15:20:59 (1 occurrences) Last logged: 15:20:59 Unable to prepare setup for platform ramses_cc.sensor: Platform not found (cannot import name 'UnitOfTime' from 'homeassistant.const' (/usr/src/homeassistant/homeassistant/const.py)).

Any help?

@zxdavb
Copy link
Owner

zxdavb commented Feb 19, 2023

The latest versions (stable, master) of ramses_cc require the latest version of HA - currently 2023.02.x.

You are using 2022.12.4, and so you will have to upgrade - this should solve your problem.

@zxdavb zxdavb closed this as completed Feb 19, 2023
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