Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jwhb/90c79430d6a6e6f31262bca1e39aca9c to your computer and use it in GitHub Desktop.
Save jwhb/90c79430d6a6e6f31262bca1e39aca9c to your computer and use it in GitHub Desktop.
IKEA E1524 Tradfri Remote Control - Home Assistant Blueprint
blueprint:
name: Zigbee2MQTT - IKEA E1524/E1810 Tradfri Remote Control
description: Control anything using "IKEA E1524/E1810 Tradfri Remote Control"
domain: automation
input:
action_sensor:
name: Remote
description: Zigbee2MQTT action sensor
selector:
entity:
integration: mqtt
domain: sensor
multiple: false
toggle_action:
name: Toggle Action
default: []
selector:
action: {}
arrow_right_action:
name: Arrow Right Action
default: []
selector:
action: {}
arrow_left_action:
name: Arrow Left Action
default: []
selector:
action: {}
brightness_up_action:
name: Brightness Up Action
default: []
selector:
action: {}
brightness_down_action:
name: Brightness Down Action
default: []
selector:
action: {}
source_url: https://community.home-assistant.io/t/zigbee2mqtt-ikea-e1810-tradfri-remote-control/308820
mode: restart
max_exceeded: silent
trigger:
platform: state
entity_id: !input action_sensor
action:
- variables:
command: '{{ trigger.to_state.state }}'
- choose:
- conditions: '{{ command == ''toggle'' }}'
sequence: !input toggle_action
- conditions: '{{ command == ''arrow_right_click'' }}'
sequence: !input arrow_right_action
- conditions: '{{ command == ''arrow_left_click'' }}'
sequence: !input arrow_left_action
- conditions: '{{ command == ''brightness_up_click'' }}'
sequence: !input brightness_up_action
- conditions: '{{ command == ''brightness_down_click'' }}'
sequence: !input brightness_down_action
@jdekarske
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment