Blueprint for EGLO 99099 Remote Control
Integration:
Zigbee2MQTT
Device:
EGLO 99099 Remote Control (https://www.zigbee2mqtt.io/devices/99099.html)
Action:
- OFF Button
- Red Button
- Green Button
- Blue Button
- Refresh Button
- Brightness Down Button
- Brightness Up Button
- Favorite 1 Button
- Favorite 2 Button
- Warm Button
- Cold Button
- Not working:
- ON Button
- Switch Color Button
- Button 1-2-3
Blueprint:
blueprint:
name: Zigbee2MQTT - EGLO 99099 Remote Control
description: EGLO 99099 Remote Control Blueprint"
domain: automation
input:
action_sensor:
name: Remote
description: Zigbee2mqtt action sensor
selector:
entity:
integration: mqtt
domain:
- sensor
multiple: false
off_action:
name: "Off"
default: []
selector:
action: {}
red_action:
name: Red
default: []
selector:
action: {}
green_action:
name: Green
default: []
selector:
action: {}
blue_action:
name: Blue
default: []
selector:
action: {}
refresh_action:
name: Refresh
default: []
selector:
action: {}
brightness_up_action:
name: Brightness Up
default: []
selector:
action: {}
brightness_down_action:
name: Brightness Down
default: []
selector:
action: {}
favorite_1_action:
name: Favorite 1
default: []
selector:
action: {}
favorite_2_action:
name: Favorite 2
default: []
selector:
action: {}
warm_action:
name: Warm
default: []
selector:
action: {}
cold_action:
name: Cold
default: []
selector:
action: {}
source_url: https://community.home-assistant.io/t/zigbee2mqtt-eglo-99099-remote-control/504310
mode: restart
max_exceeded: silent
trigger:
platform: state
entity_id: !input action_sensor
attribute: action
action:
- variables:
command: '{{ trigger.to_state.state }}'
- choose:
- conditions: '{{ command == ''off'' }}'
sequence: !input off_action
- conditions: '{{ command == ''red'' }}'
sequence: !input red_action
- conditions: '{{ command == ''green'' }}'
sequence: !input green_action
- conditions: '{{ command == ''blue'' }}'
sequence: !input blue_action
- conditions: '{{ command == ''refresh'' }}'
sequence: !input refresh_action
- conditions: '{{ command == ''brightness_step_up'' }}'
sequence: !input brightness_up_action
- conditions: '{{ command == ''brightness_step_down'' }}'
sequence: !input brightness_down_action
- conditions: '{{ command == ''recall_1'' }}'
sequence: !input favorite_1_action
- conditions: '{{ command == ''recall_2'' }}'
sequence: !input favorite_2_action
- conditions: '{{ command == ''color_temperature_step_up'' }}'
sequence: !input warm_action
- conditions: '{{ command == ''color_temperature_step_down'' }}'
sequence: !input cold_action