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

petkit purabot max pro issue #14

Closed
3 tasks done
kiloptero opened this issue Dec 27, 2024 · 2 comments
Closed
3 tasks done

petkit purabot max pro issue #14

kiloptero opened this issue Dec 27, 2024 · 2 comments
Assignees
Labels
Bug Something isn't working

Comments

@kiloptero
Copy link

System Health details

This error originated from a custom integration.

Logger: custom_components.petkit
Source: helpers/update_coordinator.py:379
integration: Petkit Smart Devices (documentation, issues)
First occurred: 11:44:30 PM (16 occurrences)
Last logged: 11:54:21 PM

Unexpected error fetching petkit data
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 379, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/petkit/coordinator.py", line 47, in _async_update_data
await self.config_entry.runtime_data.client.get_devices_data()
File "/usr/local/lib/python3.13/site-packages/pypetkitapi/client.py", line 244, in get_devices_data
await asyncio.gather(*record_tasks)
File "/usr/local/lib/python3.13/site-packages/pypetkitapi/client.py", line 279, in _fetch_device_data
endpoint = data_class.get_endpoint(device_type)
File "/usr/local/lib/python3.13/site-packages/pypetkitapi/litter_container.py", line 247, in get_endpoint
raise ValueError(f"Invalid device type: {device_type}")
ValueError: Invalid device type: t5

Integration version ?

1.3.7

In which region is your Petkit application registered?

us

Device type

No response

Checklist

  • I have enabled debug logging for my installation.
  • This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
  • This issue is not a duplicate issue of any previous issues..

Describe the issue

after integration try to accesa without luck
issue at when try to log on
IMG_3572

Reproduction steps

install
and then try to log without luck

Debug logs

This error originated from a custom integration.

Logger: custom_components.petkit
Source: helpers/update_coordinator.py:379
integration: Petkit Smart Devices (documentation, issues)
First occurred: 11:44:30 PM (16 occurrences)
Last logged: 11:54:21 PM

Unexpected error fetching petkit data
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 379, in _async_refresh
    self.data = await self._async_update_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/petkit/coordinator.py", line 47, in _async_update_data
    await self.config_entry.runtime_data.client.get_devices_data()
  File "/usr/local/lib/python3.13/site-packages/pypetkitapi/client.py", line 244, in get_devices_data
    await asyncio.gather(*record_tasks)
  File "/usr/local/lib/python3.13/site-packages/pypetkitapi/client.py", line 279, in _fetch_device_data
    endpoint = data_class.get_endpoint(device_type)
  File "/usr/local/lib/python3.13/site-packages/pypetkitapi/litter_container.py", line 247, in get_endpoint
    raise ValueError(f"Invalid device type: {device_type}")
ValueError: Invalid device type: t5

Diagnostics dump

No response

@kiloptero kiloptero added the Bug Something isn't working label Dec 27, 2024
@Jezza34000
Copy link
Owner

Hi @kiloptero
It's beacause i never had chance to try my integration with this new litter :-)
Can you send me a message on discord ? I will ask you to send me a link to temporary join your familiy and i will fix the Purobot MAX pro support for you :-)

@Jezza34000
Copy link
Owner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants