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

Ride entities are not added to Theme Park device in Home Assistant 2024.6.1 #12

Open
bkeiren opened this issue Jun 9, 2024 · 0 comments

Comments

@bkeiren
Copy link
Contributor

bkeiren commented Jun 9, 2024

Issue:
When adding a new integration entry for any Theme Park, Ride entities are created but not added as part of the Theme Park device. They are also not linked to the integration (because of the former, possibly?). Filtering the Entities table by the Theme Parks integration shows no entities, but the individual ride entities can be found as unlinked entities just fine.
See the attached screenshots below.

Symptoms:
Ride entities are "orphaned" and do not show under a given Theme Park device in HA. Enabling debug logging for the integration shows a potentially suspicious line regarding entities being added:

2024-06-09 20:33:14.066 INFO (MainThread) [custom_components.themeparks.sensor] Entities to add (count: <method-wrapper '__len__' of list object at 0x7fb958d33c00>): [<entity unknown.unknown=unknown>, <entity unknown.unknown=unknown>, <entity unknown.unknown=unknown>, <entity unknown.unknown=unknown>, <entity unknown.unknown=unknown>, <entity unknown.unknown=unknown>, <entity unknown.unknown=unknown>, <entity unknown.unknown=unknown>, <entity unknown.unknown=unknown>, <entity unknown.unknown=unknown>, <entity unknown.unknown=unknown>, <entity unknown.unknown=unknown>, <entity unknown.unknown=unknown>, <entity unknown.unknown=unknown>, <entity unknown.unknown=unknown>, <entity unknown.unknown=unknown>, <entity unknown.unknown=unknown>, <entity unknown.unknown=unknown>, <entity unknown.unknown=unknown>, <entity unknown.unknown=unknown>, <entity unknown.unknown=unknown>, <entity unknown.unknown=unknown>, <entity unknown.unknown=unknown>, <entity unknown.unknown=unknown>, <entity unknown.unknown=unknown>, <entity unknown.unknown=unknown>, <entity unknown.unknown=unknown>, <entity unknown.unknown=unknown>, <entity unknown.unknown=unknown>, <entity unknown.unknown=unknown>, <entity unknown.unknown=unknown>, <entity unknown.unknown=unknown>]

See extended debug log:
home-assistant_themeparks_2024-06-09T18-33-17.359Z.log

Expected behavior:
I expect ride entities be created as part of their Device, just like other integrations do. I expect this to also solve the issue of these entities not being filterable by the Theme Park integration in the Entities table.

Home Assistant version:
HA Core 2024.6.1, running in a docker container.

image
image
image

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

No branches or pull requests

1 participant