This is a blueprint for the Immax V3 ZigBee remote control.
The automation can handle the remote controller and you can link it to any device. For a lightbulb device you can use the + and - buttons to increase or decrease the brightness.
Blueprint Code
Click the badge to import this Blueprint: (needs Home Assistant Core 2021.3 or higher)
Or copy/paste the following code:
blueprint:
name: Immax V2 Zigbee Remote
description: Automate the Immax NEO 07087-2 Zigbee Remote Control
domain: automation
input:
immax_v2_remote:
name: Immax V2 Remote
selector:
device:
integration: zha
manufacturer: _TYZB01_7qf81wty
model: TS1001
on_action:
name: Press ON
description: Action to run when ON is pressed
default: []
selector:
action: {}
off_action:
name: Press OFF
description: Action to run when OFF is pressed
default: []
selector:
action: {}
plus_action:
name: Press +
description: Action to run when + is pressed
default: []
selector:
action: {}
minus_action:
name: Press -
description: Action to run when - is pressed
default: []
selector:
action: {}
mode: single
max_exceeded: silent
trigger:
- platform: event
event_type: zha_event
event_data:
device_id: !input 'immax_v2_remote'
variables:
on_action: !input 'on_action'
off_action: !input 'off_action'
plus_action: !input 'plus_action'
minus_action: !input 'minus_action'
action:
- variables:
command: '{{ trigger.event.data.command }}'
args: '{{ trigger.event.data.args }}'
- choose:
- conditions:
- '{{ command == "on" }}'
sequence: !input 'on_action'
- conditions:
- '{{ command == "off" }}'
sequence: !input 'off_action'
- conditions:
- '{{ command == "step" }}'
- "{{ args == [0, 51, 10] }}"
sequence: !input 'plus_action'
- conditions:
- '{{ command == "step" }}'
- "{{ args == [1, 51, 10] }}"
sequence: !input 'minus_action'