docs: update raw shipment sensor entity id in community templates - #89
Conversation
|
Hey @Steggl ! Apologies for the delay in review, I was on vacation. I was doing some research, and the entity ID didn't change in any parcel-ha release, it instead changed with Home Assistant's entity naming migration (completed around HA 2026.4), which now generates entity IDs for device-bound entities as device name + entity name. That's why you got sensor.parcel_app_parcel_raw_shipment_data on a fresh install, while anyone who set up the integration on an older HA core still has sensor.parcel_raw_shipment_data in their registry (existing entity IDs are preserved). Regarding the templates- this fixes new installs but breaks the templates for existing users. Could you make them handle both IDs? For example, in bubble_card.yaml: Regarding the Readme- there's no integration version to swap "v1.2.0" for, since the ID depends on which HA core version you were on when you first configured the integration. Maybe something like:
|
|
Thanks for the research and the clear explanation – I hadn't realized the ID change came from HA's entity naming migration rather than the integration itself. Pushed an update:
Let me know if you'd prefer a different structure for the auto-entities template. |
The community template
docs/community_templates/bubble_card.yamlstillreferences the old entity id
sensor.parcel_raw_shipment_data.Since the integration now creates the sensor as
sensor.parcel_app_parcel_raw_shipment_data, the template rendersempty for new installations (state_attr returns None).
This PR updates the entity id in the template accordingly.
Tested against v1.8.2 on Home Assistant 2026.8.
Also updates README.md and auto_entities.yaml which referenced the same old entity id (5 occurrences across 3 files).