My options in settings look different. The blueprint is broken after the update to v2
This is what my settings show
My options in settings look different. The blueprint is broken after the update to v2
This is what my settings show
It’s the same settings, difference between them is desktop or phone
I finally updated to Z2M 2.0 and I almost have the revised blueprint ready. Just have to figure out how to get the “hold to change brightness” working without the _action entity
I ticked those boxes and now it works but someone else above said this is not proper solution. Do you know why?
Yes, because Z2M will not always support the “legacy” options so it’ll be better practice to move forward with the device actions (or whatever they’re actually called)
New version
Yeah I saw that. I want my blueprint to specify a (or a few) light(s) and have brightness up and down just work without specifying a script or something in the “brightness hold up” and “release” actions
Alright folks, re-import the blueprint and let me know if it gives you any trouble. I have Z2M 2.0 installed with no legacy options checked. @HomeAB @Sporbillis @Dutchy-79 @CornelisNL @10der @spry-salt @donnib
Ty, works for me
Edit, also with legacy turned off.
Just remember, the legacy triggers are deprecated, so you need to pick another trigger method going forward.
The Zigbee2MQTT team lead has just confirmed that the reaction from the users have made him postpone the removal for a very long time. Especially the Node Red users are in trouble.
If you want an example of the 5 button remote here is mine using the new actions
alias: Tradfri PH Dimmer
triggers:
- trigger: state
entity_id: event.ph_dimmer_action
not_from: unavailable
actions:
- choose:
- conditions:
- condition: template
value_template: "{{trigger.to_state.attributes.event_type == 'toggle'}}"
- condition: state
entity_id: light.ph
state: "off"
sequence:
- data:
entity_id:
- light.ph
brightness_pct: 80
action: light.turn_on
- conditions:
- condition: template
value_template: "{{trigger.to_state.attributes.event_type == 'toggle'}}"
- condition: state
entity_id: light.ph
state: "on"
sequence:
- data:
entity_id:
- light.ph
action: light.turn_off
- conditions:
- "{{trigger.to_state.attributes.event_type == 'brightness_up_hold'}}"
sequence:
- action: mqtt.publish
metadata: {}
data:
topic: zigbee2mqtt/PH/set
payload: "{\"brightness_move\": 50 }"
- conditions:
- "{{trigger.to_state.attributes.event_type == 'brightness_down_hold'}}"
sequence:
- action: mqtt.publish
metadata: {}
data:
topic: zigbee2mqtt/PH/set
payload: "{\"brightness_move\": -50 }"
- conditions:
- >-
{{trigger.to_state.attributes.event_type in
('brightness_up_release', 'brightness_down_release')}}
sequence:
- action: mqtt.publish
metadata: {}
data:
topic: zigbee2mqtt/PH/set
payload: "{\"brightness_move\": 0 }"
- conditions:
- "{{trigger.to_state.attributes.event_type == 'arrow_right_click'}}"
sequence:
- data:
topic: blinds/step/left
payload: "10"
action: mqtt.publish
- data:
topic: blinds/step/right
payload: "10"
action: mqtt.publish
- conditions:
- condition: template
value_template: "{{trigger.to_state.attributes.event_type == 'arrow_left_click'}}"
sequence:
- data:
topic: blinds/step/left
payload: "-10"
action: mqtt.publish
- data:
topic: blinds/step/right
payload: "-10"
action: mqtt.publish
- conditions:
- condition: template
value_template: "{{trigger.to_state.attributes.event_type == 'arrow_right_hold'}}"
sequence:
- data:
topic: blinds/set/left
payload: "50"
action: mqtt.publish
- data:
topic: blinds/set/right
payload: "50"
action: mqtt.publish
- conditions:
- condition: template
value_template: "{{trigger.to_state.attributes.event_type == 'arrow_left_hold'}}"
sequence:
- data:
topic: blinds/set/left
payload: "0"
action: mqtt.publish
- data:
topic: blinds/set/right
payload: "0"
action: mqtt.publish
initial_state: "on"
mode: queued
max_exceeded: silent
Just to be clear, the updated blueprint does not use legacy triggers
z2m 2.0.0.2 and latest HA with blueprint “Controller - IKEA E1524/E1810 TRÅDFRI Wireless 5-Button Remote” there is no entity ((Zigbee2MQTT) Controller Entity) for Ikea remote. My z2m does not use legacy option. Am I doing something wrong?
Download blueprint again, there’s been a update few days ago.
it is a BP from here
Sorry, that’s a different blueprint than mine. I suppose they have not updated to use Device Entities yet. Feel free to import my blueprint with the forum link: