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

Uncompatible changes in history component #51140

Closed
Limych opened this issue May 27, 2021 · 1 comment · Fixed by #51144
Closed

Uncompatible changes in history component #51140

Limych opened this issue May 27, 2021 · 1 comment · Fixed by #51144
Assignees

Comments

@Limych
Copy link
Contributor

Limych commented May 27, 2021

The problem

Due to the changes in PR #50287 in my custom component on the dev version of HA, an error began to pop up:

ImportError: cannot import name 'LazyState' from 'homeassistant.components.history' (/usr/src/homeassistant/homeassistant/components/history/__init__.py)

Of course, I can fix the code, but how many users of other custom components can suffer, whose authors will not notice these changes in time.

Please make changes to the code of the hystory component to ensure backward compatibility of the edits.

What is version of Home Assistant Core has the issue?

dev

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Core

Integration causing the issue

history

Link to integration documentation on our website

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

@probot-home-assistant
Copy link

history documentation
history source
(message by IssueLinks)

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

Successfully merging a pull request may close this issue.

2 participants