home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
71.13k stars 29.8k forks source link

sure petcare 404 on /report/household #123572

Open rhyst opened 1 month ago

rhyst commented 1 month ago

The problem

My sure petcare integration has stopped working. It appears to be because the request to: https://app.api.surehub.io/api/report/household/<id> is 404-ing. I tried curl-ing some requests that the official app makes, and then curl-ing that endpoint and got the same 404, so perhaps sure petcare have changed something?

What version of Home Assistant Core has the issue?

core-2024.8.1

What was the last working version of Home Assistant Core?

core-2024.8.1

What type of installation are you running?

Home Assistant Container

Integration causing the issue

surepetcare

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

2024-08-11 09:30:10.866 INFO (MainThread) [surepy.client] 🐾 · GET app.api.surehub.io/api/report/household/235226: 404 | <ClientResponse(https://app.api.surehub.io/api/report/household/<id>) [404 Not Found]>
<CIMultiDictProxy('Date': 'Sun, 11 Aug 2024 08:30:10 GMT', 'Content-Length': '0', 'Connection': 'keep-alive', 'Server': 'nginx', 'Access-Control-Allow-Origin': '*', 'Strict-Transport-Security': 'max-age=31536000; includeSubdomains; preload', 'X-Frame-Options': 'DENY', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block')>

Additional information

No response

home-assistant[bot] commented 1 month ago

Hey there @benleb, @danielhiversen, mind taking a look at this issue as it has been labeled with an integration (surepetcare) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `surepetcare` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign surepetcare` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


surepetcare documentation surepetcare source (message by IssueLinks)

benleb commented 1 month ago

yes, the surepy lib needs an update. I am working on it! 👍

tjkcc commented 2 weeks ago

@rhyst sorry fo offtopic, but didn't find a better place to ask. Does this integration allow to actually lock the gate or it only reports status?

rhyst commented 1 week ago

@tjkcc You can lock: image