cannot import name 'ATTR_CONNECTIONS' from 'homeassistant.const'
See original GitHub issueDescribe the bug
Logger: homeassistant.setup Source: setup.py:178 First occurred: 21:56:29 (1 occurrences) Last logged: 21:56:29
Setup failed for apple_tv: Unable to import component: cannot import name ‘ATTR_CONNECTIONS’ from ‘homeassistant.const’ (/usr/local/share/homeassistant/lib/python3.8/site-packages/homeassistant/const.py)
Error log
Logger: homeassistant.setup
Source: setup.py:178
First occurred: 21:56:29 (1 occurrences)
Last logged: 21:56:29
Setup failed for apple_tv: Unable to import component: cannot import name 'ATTR_CONNECTIONS' from 'homeassistant.const' (/usr/local/share/homeassistant/lib/python3.8/site-packages/homeassistant/const.py)
How to reproduce the bug?
install 1.7 on HACS
What is expected behavior?
loading, vs not loading?
Operating System
Truenas
Python
3.8
pyatv
?
Device
Doesn’t matter
Additional context
Is there a way to downgrade back to 1.6?
Issue Analytics
- State:
- Created 2 years ago
- Reactions:3
- Comments:17 (6 by maintainers)
Top Results From Across the Web
cannot import name 'Platform' from 'homeassistant.const' (/usr ...
When I try to use this integration using this configuration : climate: platform: baxi_thermostat name: My Baxi Thermostat username: xxxxx@xxxxxx.com ...
Read more >New configuration menu, the button entity, and gorgeous area ...
Platform error media_player.skyq - cannot import name 'HTTP_OK' from 'homeassistant.const' (/usr/src/homeassistant/homeassistant/const.py).
Read more >2021.8.0 issues - Component error: isy994 - cannot import ...
Error: Component error: isy994 - cannot import name 'VOLT' from 'homeassistant.const' (/usr/src/homeassistant/homeassistant/const.py).
Read more >How to use the homeassistant.const.CONF_NAME function in ...
To help you get started, we've selected a few homeassistant.const. ... name = config.get(CONF_NAME) properties = config[CONF_ZPID] params = {'zws-id': ...
Read more >Hallo, I have the follow problem to integrate a manual alarm
Platform error alarm_control_panel.manual - No module named... ... import name 'CONF_ARMING_TIME' from ... (/usr/src/homeassistant/homeassistant/const.py)
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yes, this was a boo-boo on my end. The things I pulled in from core depends on things not yet released (will be in the next core release). Please stay on 1.6.0 for now.
Thxs a lot. Of course