Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@crowbarz
Copy link
Contributor

Use the new naming scheme for entities as described in the Entity docs.

After upgrading the integration to a version containing this PR, entity IDs for existing integration instances will not be changed, as the unique_id value for the alarm_control_panel and sensor entities have not changed. The friendly names for the entities will however now be prepended with the device name, unless they were previously customised by the user.

For new instances of the integration added after upgrading, the entity IDs will be generated using the full entity name, and the device name will be prepended to the entity name as a result.

@crowbarz crowbarz marked this pull request as draft August 21, 2025 23:01
@crowbarz crowbarz marked this pull request as ready for review August 21, 2025 23:14
@jasonmadigan jasonmadigan self-requested a review August 27, 2025 07:43
@jasonmadigan jasonmadigan merged commit b9be54f into jasonmadigan:main Sep 6, 2025
2 checks passed
@crowbarz crowbarz deleted the new-entity-naming branch September 7, 2025 10:20
jasonmadigan pushed a commit that referenced this pull request Sep 11, 2025
* Use new entity naming (has_entity_name = True)

* Update sensor name test for new naming scheme

* Fix tests
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

Successfully merging this pull request may close these issues.

2 participants