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

fix!: Remove deprecated Home Assistant integration features #24494

Merged
merged 10 commits into from
Nov 7, 2024

Conversation

Koenkk
Copy link
Owner

@Koenkk Koenkk commented Oct 26, 2024

For #24198:

  • Remove deprecated Home Assistant integration features:
    • Action and click sensors have been removed (homeassistant.legacy_triggers setting). This means all sensor.*_action and sensor.*_click entities are removed. Use the MQTT device trigger instead.
    • Entity attributes (homeassistant.legacy_entity_attributes setting) has been removed. This means that entities discovered by Zigbee2MQTT will no longer have entity attributes (Home Assistant entity attributes are accessed via e.g. states.binary_sensor.my_sensor.attributes).
    • All child lock entities are now discovered as a switch instead of lock
    • External converters can no longer expose entities to Home Assistant via the homeassistant property, use exposes instead
    • The update_state and update_available entities have been removed (succeeded by the update entities)

Per device:

  • IKEA ICTC-G-1: the Home Assistant brightness sensor has been removed
  • Aqara SRTS-A01: child_lock on/off values have been changed from true/false to LOCK/UNLOCK

@Koenkk Koenkk marked this pull request as ready for review November 3, 2024 21:28
@Koenkk Koenkk requested a review from Nerivec November 3, 2024 21:28
@Koenkk Koenkk changed the title Remove deprecated Home Assistant integration features fix!: Remove deprecated Home Assistant integration features Nov 3, 2024
@Koenkk Koenkk merged commit 05ffe8f into feat/2.0.0 Nov 7, 2024
21 checks passed
@Koenkk Koenkk deleted the feat/ha-cleanup branch November 7, 2024 21:44
Koenkk added a commit that referenced this pull request Dec 1, 2024
* Remove `legacy_trigger`

* Remove legacy_entity_attributes

* Remove `LEGACY_MAPPING`

* Finish cleanup

* Updates

* revert some entities removal

* Update

* Updates
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.

1 participant