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

Fix component for home-assistant >= 2021.3.0 #1

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

Tho85
Copy link

@Tho85 Tho85 commented Mar 5, 2021

RestData has been moved to data.py some time ago, so let's import it from there. Also, add a version key to manifest.json, as this will be required in future versions.

Closes marcschumacher#4

Tho85 added 2 commits March 5, 2021 21:32
`RestData` has been moved to `data.py` some time ago, so let's import it from there.
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

Successfully merging this pull request may close these issues.

cannot import name 'RestData' from 'homeassistant.components.rest.sensor
1 participant