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

Is this integration dead? If not, hereby an issue #39

Open
bscheutjens opened this issue May 30, 2023 · 13 comments
Open

Is this integration dead? If not, hereby an issue #39

bscheutjens opened this issue May 30, 2023 · 13 comments

Comments

@bscheutjens
Copy link

Looking at the reported issues and the lack of communication from the author, this integration seems to be completely dead.

If not, hereby a new issue that is breaking all functionality. Since earlier today I'm getting two errors and the states of my pets aren't updating.

This error originated from a custom integration.

Logger: surepy
Source: custom_components/sureha/init.py:98
Integration: SureHA (documentation, issues)
First occurred: 15:31:18 (53 occurrences)
Last logged: 17:41:18

could not fetch data ¯_(ツ)_/¯

This error originated from a custom integration.

Logger: homeassistant
Source: custom_components/sureha/binary_sensor.py:244
Integration: SureHA (documentation, issues)
First occurred: 15:31:18 (53 occurrences)
Last logged: 17:41:18

Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 204, in _handle_refresh_interval
await self._async_refresh(log_failures=True, scheduled=True)
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 349, in _async_refresh
self.async_update_listeners()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 146, in async_update_listeners
update_callback()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 406, in _handle_coordinator_update
self.async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 585, in async_write_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 649, in _async_write_ha_state
state = self._stringify_state(available)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 591, in _stringify_state
if (state := self.state) is None:
File "/usr/src/homeassistant/homeassistant/components/binary_sensor/init.py", line 211, in state
if (is_on := self.is_on) is None:
File "/config/custom_components/sureha/binary_sensor.py", line 257, in is_on
return bool(self.extra_state_attributes)
File "/config/custom_components/sureha/binary_sensor.py", line 244, in extra_state_attributes
if (device := self._coordinator.data[self._id]) and (
KeyError: 418531

@PhiHar
Copy link

PhiHar commented May 30, 2023

Same issue with the original HomeAssistant integration. So I tried this one and also not working. The original App still works.

@PhiHar
Copy link

PhiHar commented May 30, 2023

Please also open in issue in the original Home Assistant Core

@PhiHar
Copy link

PhiHar commented May 30, 2023

Oh you already did 😂

@bscheutjens
Copy link
Author

Oh you already did 😂

Only commented on an issue someone else opened just before me. But the issues for the official integration also suffer from lack of communication from the author.

@bscheutjens
Copy link
Author

Lol.. went there to check on that issue and noticed I replied to your issue.. Time to go to bed I guess..

@PhiHar
Copy link

PhiHar commented May 31, 2023

Official Integration is working again, seems like the surepet servers were the problem. I was able to reinstall again.

@Tuttle13
Copy link

Tuttle13 commented Jun 1, 2023

My integration stopped working, so uninstalled and reinstalled, (SureHA) and after putting in correct details, it goes to a blank screen in HA with just the question mark, X, and close. But it's clearly not logging in.

Also tried the second integration option Sure Petcare to sign in, but after entering details, it instead says "Failed to connect"?

@netphantm
Copy link

This error originated from a custom integration.

Logger: custom_components.sureha.config_flow
Source: custom_components/sureha/config_flow.py:91
Integration: SureHA (documentation, issues)
First occurred: 07:58:21 (4 occurrences)
Last logged: 08:06:54

Unable to connect to surepetcare.io:

@blair287
Copy link

blair287 commented Jun 1, 2023

This error originated from a custom integration.

Logger: custom_components.sureha.config_flow Source: custom_components/sureha/config_flow.py:91 Integration: SureHA (documentation, issues) First occurred: 07:58:21 (4 occurrences) Last logged: 08:06:54

Unable to connect to surepetcare.io:

I have the exact same error started a day ago with everything unknown I removed integration to add again and get blank box with this error in the log.

@Djowie
Copy link

Djowie commented Jun 1, 2023

Same here :(

@mbu147
Copy link

mbu147 commented Jun 1, 2023

+1 :(

@Alex-ala
Copy link

Alex-ala commented Jun 2, 2023

For reference: This relates to home-assistant/core#93814 and is a problem between surepy (which is a dependency of sureha and surepetcare component).
It seems like surepetcare api is blocking (or at least rate limiting?) requests with a user agent starting with "surepy".
Answer from SurePet outstanding, aswell as a decision on how to work around this. There are temporary workarounds within the discussions of the HA Issue.

@Tuttle13
Copy link

Tuttle13 commented Jun 3, 2023

Somehow, it came back..

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

8 participants