pyatv: cannot import name 'ATTR_CONNECTIONS' from 'homeassistant.const'

Describe 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?

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 3
  • Comments: 17 (6 by maintainers)

Commits related to this issue

Most upvoted comments

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.

Hi, how do you rollback to 1.6? I cannot delete integration. I cannot delete my configuration. It doesn’t work

If you go into HACS and click the three dots on the Apple TV beta integration you can click “Reinstall” and choose what version to install 😃

Thxs a lot. Of course