Mass Migrate to zigbee2mqtt MQTT device triggers (mqtt) #674
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Thank you for taking the time to work on a Pull Request. Your contribution is really appreciated! 🎉
Please don't delete any part of the template, since keeping the provided structure will help maintainers to review your work more rapidly.
Sections marked as * are required and need to be filled in.
Migrate to Zigbee2MQTT MQTT Device Triggers.
Breaking change
Migrate to Zigbee2MQTT MQTT Device Triggers. (@yarafie)
The
controller_entity
input has been deprecated, andcontroller_device
is now mandatory.If you are a Zigbee2MQTT user and plan to update this blueprint, please make sure to remove the
controller_entity
input from your automation config and add the device ID of your controller to thecontroller_device
input.To obtain the device ID from your controller, configure the automation from the UI and use the device selector dropdown on the
controller_device
input to select your controller.Additionally you need to be using no less than Home Assistant Version 2024.10.0
Proposed change*
With zigbee2mqtt version 2.x, legacy features are planned to be removed and are disabled by default if you have updated to zigbee2mqtt version 2.x.
Further information can be found in in the zigbee2mqtt discussion link below:
Zigbee2MQTT 2.0.0 breaking changes
Koenkk/zigbee2mqtt#24198
This Blueprint has been updated to make use of MQTT device triggers and deprecate the legacy entity action sensors (sensor.*_action). If you have legacy or even the experimental entities enabled in zigbee2mqtt (i.e. set to true) in your zigbee2mqtt configuration the blueprint should still work as it does not use them.
Checklist*
npm run format
before submitting my Pull Request.