-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
For the last several days, I've been unable to open my integrations page in HA.
I looked in the logs and I'm getting these two three errors from the PetSafe integration:
This error originated from a custom integration.
Logger: custom_components.petsafe
Source: helpers/debounce.py:137
integration: PetSafe (documentation, issues)
First occurred: September 7, 2025 at 19:44:03 (59 occurrences)
Last logged: 20:45:48
Unexpected exception from <bound method DataUpdateCoordinator.async_refresh of <custom_components.petsafe.PetSafeCoordinator object at 0x1541568863c0>>
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/debounce.py", line 137, in _handle_timer_finish
await task
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 368, in async_refresh
await self._async_refresh(log_failures=True)
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 491, in _async_refresh
self.async_update_listeners()
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 190, in async_update_listeners
update_callback()
~~~~~~~~~~~~~~~^^
File "/config/custom_components/petsafe/SwitchEntities.py", line 120, in _handle_coordinator_update
x for x in data.feeders if x.api_name == self._api_name
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'feeders'
Logger: custom_components.petsafe
Source: helpers/update_coordinator.py:424
integration: PetSafe (documentation, issues)
First occurred: September 8, 2025 at 21:30:56 (12 occurrences)
Last logged: 20:29:40
Error fetching PetSafe data:
Yes, the error message ends there. There is nothing after data:
Logger: homeassistant.helpers.entity
Source: helpers/entity.py:963
First occurred: September 8, 2025 at 12:30:48 (15 occurrences)
Last logged: 19:33:51
Update for sensor.sup_pup_last_feeding fails
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 963, in async_update_ha_state
await self.async_device_update()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1314, in async_device_update
await self.async_update()
File "/config/custom_components/petsafe/SensorEntities.py", line 233, in async_update
feeding = await feeder.get_last_feeding()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/petsafe/devices.py", line 76, in get_last_feeding
messages = await self.get_messages_since()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/petsafe/devices.py", line 63, in get_messages_since
response = await self.client.api_get(
^^^^^^^^^^^^^^^^^^^^^^^^^^
self.api_path + "messages?days=" + str(days)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/local/lib/python3.13/site-packages/petsafe/client.py", line 216, in api_get
response.raise_for_status()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.13/site-packages/httpx/_models.py", line 829, in raise_for_status
raise HTTPStatusError(message, request=request, response=self)
httpx.HTTPStatusError: Server error '500 Internal Server Error' for url 'https://platform.cloud.petsafe.net/smart-feed/feeders/m-E8FB1CC514EF/messages?days=7'
For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/500
hadn't scrolled far enough down to see the 3rd error
I don't know if this is what's causing my integrations page to fail to load, however, it does look like something needs to be addressed.
Oddly, I have all the data on a couple of cards on my dashboard and they do seem to be populating and functioning correctly. Our dog wasn't eating for a couple of days, so I used HA to pause the feeder because her bowl was full. It did, in fact, pause the feeding.
Metadata
Metadata
Assignees
Labels
No labels