Mainly based on the hard work of @vandalon and @alexsaas who was my beta tester…
Choose carefully the version according to your needs
A new version for the PTM21xZ/ZE family is available here.
Home Assistant must run version 2024.10.x minimum in order to use those blueprints.
Tested on Z2M versions 1.x and 2.x.
UPDATE
2025.04:
A new version is now available HERE. Any PTM21xZ/ZE is supported as well as the multiple controller in the blueprint.
HOW TO UPGRADE
Import the new blueprint
Open your automation based on the older version
2.1 Edit in YAML PTM215Z/ZE
2.2.1. Update line 4 from path: path: Chris/PTM_215Z_ZE.yaml to path: path: Chris/PTM_21xZ_ZE.yaml PTM216Z
2.2.2. Update line 4 from path: path: Chris/PTM_216Z.yaml to path: path: Chris/PTM_21xZ_ZE.yaml
Hello
I am following your blueprint for a while on github. (zigbee2mqtt v.2 trigger)
i would like to use your bluepring, but repeated dimming with hold is not possible.
is there a way to implement repeat on hold in your blueprint? (at the moment the dimming funktion is only triggered once.
Hello, It should not be so complicated to modify the blueprint. It would be a complete re-write of the code unfortunately. I am using mode: single . This is why your automation is not repeated.
May I suggest, as you are dimming a light via Zigbee2mqtt, to use the brightness_move command. It would be like:
There is no disadvantage to have the elapsed option turned on. It is used to measure the time between two commands. I have not found an other way, for the moment, to measure easily the time between two mqtt topic.
If you do not want to use the elapsed option, you may try this blueprint based on the experimental events. The main problem with Z2M events is there might be some breaking changes in the incoming future as it is not yet completely implemented.
I am personally going to stick on mqtt as it will not change that much.