core: Integration seventeentrack is get packages action throws error

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

About this issue

  • Original URL
  • State: open
  • Created 2 years ago
  • Reactions: 10
  • Comments: 29 (3 by maintainers)

Most upvoted comments

Dear @shaiu you are right that since it’s open source in theory anyone could make changes… but I suspect that this will not happen (otherwise someone would have already jumped in) … with the result that your very nice job will become no longer usable from many people.

I agree, it was more to make a point. Hopefully I’ll look into it in the next week or so.

Glad to see others with this issue - but commenting “same here” just bloats all our notifications. Follow this thread instead by subscribing (up there on the right sidebar).

Image

The only person not having anyrhing to say about the issue is @shaiu.

Dear @homeassistant team, it really feels like this integration is not actively maintained. Maybe time to remove it?

I don’t work for Home Assistant. I do this on my own time (which is not a lot). This is open source and you are very welcome to do anything you want

guys, just go to 17track website… it’s completely renewed, they surely changed everything even on API side… the integration probably must be rewritten, hopefully not from scratch…

The only person not having anyrhing to say about the issue is @shaiu.

Dear @homeassistant team, it really feels like this integration is not actively maintained. Maybe time to remove it?

Delete your account in the integration, restart Home Asistant and then login with your credentials in 17Track again. That did the trick for me. Pay attention that you get a new config_entry_id. This is e.g. needed for this solution https://smarterkram.de/community/postid/1585/

It doesn’t work for me either! I deleted everything and now it gives me a login error but the credentials are correct…

I still end up with a sensor for each status that contains the number of packages, but no attributes that provide any information about specific packages.

Those attributes were removed in 2025.5.0. You’ll need to make a trigger template to get that back. There’s another issue tracking how to do that here. This issue was about the action call failing. Seems to work now (and I didn’t have to do the remove and re-add workaround).

Same issue here. You need to restart Home Assistant to get it running again, but after a while the same error(s) occure.