Last active
February 5, 2025 09:09
-
-
Save JakePT/1910be727ce190d6bc7dfad8a17845c2 to your computer and use it in GitHub Desktop.
IKEA RODRET Home Assistant blueprint
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| blueprint: | |
| name: IKEA RODRET | |
| description: Control a light with an IKEA RODRET wireless dimmer. | |
| domain: automation | |
| input: | |
| device_id: | |
| name: Device | |
| description: An IKEA RODRET remote. | |
| selector: | |
| device: | |
| filter: | |
| - manufacturer: IKEA of Sweden | |
| model: RODRET Dimmer | |
| entity_id: | |
| name: Light | |
| description: A dimmable light. | |
| selector: | |
| entity: | |
| filter: | |
| domain: light | |
| triggers: | |
| - device_id: !input device_id | |
| domain: zha | |
| type: remote_button_short_press | |
| subtype: turn_on | |
| trigger: device | |
| id: turn_on | |
| - device_id: !input device_id | |
| domain: zha | |
| type: remote_button_short_press | |
| subtype: turn_off | |
| trigger: device | |
| id: turn_off | |
| - device_id: !input device_id | |
| domain: zha | |
| type: remote_button_long_press | |
| subtype: dim_up | |
| trigger: device | |
| id: dim_up | |
| - device_id: !input device_id | |
| domain: zha | |
| type: remote_button_long_release | |
| subtype: dim_up | |
| trigger: device | |
| id: dim_up_released | |
| - device_id: !input device_id | |
| domain: zha | |
| type: remote_button_long_press | |
| subtype: dim_down | |
| trigger: device | |
| id: dim_down | |
| - device_id: !input device_id | |
| domain: zha | |
| type: remote_button_long_release | |
| subtype: dim_down | |
| trigger: device | |
| id: dim_down_released | |
| conditions: [] | |
| actions: | |
| - choose: | |
| - conditions: | |
| - condition: trigger | |
| id: | |
| - turn_on | |
| sequence: | |
| - action: light.turn_on | |
| metadata: {} | |
| data: {} | |
| target: | |
| entity_id: !input entity_id | |
| - conditions: | |
| - condition: trigger | |
| id: | |
| - turn_off | |
| sequence: | |
| - action: light.turn_off | |
| metadata: {} | |
| data: {} | |
| target: | |
| entity_id: !input entity_id | |
| - conditions: | |
| - condition: trigger | |
| id: | |
| - dim_up | |
| sequence: | |
| - repeat: | |
| sequence: | |
| - action: light.turn_on | |
| metadata: {} | |
| data: | |
| brightness_step_pct: 10 | |
| target: | |
| entity_id: !input entity_id | |
| while: | |
| - condition: trigger | |
| id: | |
| - dim_up | |
| - conditions: | |
| - condition: trigger | |
| id: | |
| - dim_down | |
| sequence: | |
| - repeat: | |
| sequence: | |
| - action: light.turn_on | |
| metadata: {} | |
| data: | |
| brightness_step_pct: -10 | |
| target: | |
| entity_id: !input entity_id | |
| while: | |
| - condition: trigger | |
| id: | |
| - dim_down | |
| mode: restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment