I wanted to be able to control my FYRTUR shades in a similar fashion to the Ikea default, should also work for KADRILJ. I took @psychozz’s “deCONZ - IKEA Trådfri on/off switch (incl dimmer)” and adjusted the variables to suit the open/close switch and stripped out the brightness adjustment stuff.
blueprint:
name: deCONZ - IKEA Tradfri open/close switch
description: |
"Control Furtur roller blind with IKEA Tradfri open/close switch
Select the Tradfri remote and your blinds.
You can open or close the blinds all the way with a single click, hold the button down to adjust them, or hit the opposing button while in motion to stop them."
domain: automation
input:
remote:
name: Remote
description: The remote that will control the shades
selector:
device:
integration: deconz
manufacturer: 'IKEA of Sweden'
model: 'TRADFRI open/close remote'
cover:
name: Cover
description: The cover that will be controlled
selector:
target:
entity:
domain: cover
mode: restart
trigger:
- platform: event
event_type: deconz_event
event_data:
device_id: !input 'remote'
action:
- variables:
event: "{{ trigger.event.data.event }}"
- choose:
- conditions:
- "{{ event == 1002 }}"
sequence:
- service: cover.open_cover
target: !input 'cover'
- conditions:
- "{{ event == 2002 }}"
sequence:
- service: cover.close_cover
target: !input 'cover'
- conditions:
- "{{ event == 1003 }}"
sequence:
- service: cover.stop_cover
target: !input 'cover'
- conditions:
- "{{ event == 2003 }}"
sequence:
- service: cover.stop_cover
target: !input 'cover'