Skip to content

Integration seventeentrack is get packages action throws error #144801

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

Open
regevbr opened this issue May 13, 2025 · 4 comments
Open

Integration seventeentrack is get packages action throws error #144801

regevbr opened this issue May 13, 2025 · 4 comments

Comments

@regevbr
Copy link
Contributor

regevbr commented May 13, 2025

The problem

seventeentrack.get_packages errors all the time

What version of Home Assistant Core has the issue?

core-2025.5.1

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

seventeentrack

Link to integration documentation on our website

https://www.home-assistant.io/integrations/seventeentrack

Diagnostics information

No response

Example YAML snippet

action: seventeentrack.get_packages
data:
  config_entry_id: 291f0b247043d13d5e687f3f0b1eb95c

Anything in the logs that might be useful for us?

Logger: homeassistant.components.seventeentrack
Source: helpers/update_coordinator.py:380
integration: 17TRACK ([documentation](https://www.home-assistant.io/integrations/seventeentrack), [issues](https://github.com/home-assistant/core/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+seventeentrack%22))
First occurred: May 12, 2025 at 09:57:31 (143 occurrences)
Last logged: 10:30:39

Unexpected error fetching seventeentrack data
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 380, in _async_refresh
    self.data = await self._async_update_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/seventeentrack/coordinator.py", line 61, in _async_update_data
    summary = await self.client.profile.summary(
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        show_archived=self.show_archived
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/local/lib/python3.13/site-packages/pyseventeentrack/profile.py", line 111, in summary
    for kind in summary_resp.get("Json", {}).get("eitem", []):
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'get'

Additional information

No response

@home-assistant
Copy link

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

Code owner commands

Code owners of seventeentrack 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 seventeentrack 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)


seventeentrack documentation
seventeentrack source
(message by IssueLinks)

@kedar-calangutkar
Copy link

+1. Seeing the same issue.

@SmallScreenDesign
Copy link

Same here

@moryoav
Copy link

moryoav commented May 15, 2025

Same here. Seems like get_packages is broken in latest version. Now that the attributes were removed, I guess that's the correct way we're supposed to use to get the package details?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants