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

I got a strange error with the newest version of petkit integration. #27

Open
khkl opened this issue Oct 30, 2022 · 1 comment
Open

Comments

@khkl
Copy link

khkl commented Oct 30, 2022

Logger: custom_components.petkit
Source: custom_components/petkit/button.py:6
Integration: Petkit (documentation, issues)
First occurred: 17:57:24 (1 occurrences)
Last logged: 17:57:24

Unexpected error fetching petkit-****-devices data: No module named 'homeassistant.components.button'
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/helpers/update_coordinator.py", line 187, in _async_refresh
self.data = await self._async_update_data()
File "/home/homeassistant/.homeassistant/custom_components/petkit/init.py", line 266, in _async_update_data
await self.update_hass_entities(d, dvc)
File "/home/homeassistant/.homeassistant/custom_components/petkit/init.py", line 272, in update_hass_entities
from .button import PetkitButtonEntity
File "/home/homeassistant/.homeassistant/custom_components/petkit/button.py", line 6, in
from homeassistant.components.button import (
ModuleNotFoundError: No module named 'homeassistant.components.button'

@al-one
Copy link
Contributor

al-one commented Oct 31, 2022

Upgrade your HA core.

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