Last active
April 29, 2021 15:37
-
-
Save ZerNico/1702506a60b6d85be06c6d3722829bf3 to your computer and use it in GitHub Desktop.
Control lights with a Mueller Licht Tint RGB Remote
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: Müller Licht Tint Remote | |
| description: | | |
| Müller Light Tint Remote. | |
| domain: automation | |
| input: | |
| remote: | |
| name: Remote | |
| description: Müller Licht Tint remote to use | |
| selector: | |
| entity: | |
| integration: mqtt | |
| domain: sensor | |
| target_light: | |
| name: Light(s) | |
| description: The light(s) to control | |
| selector: | |
| target: | |
| entity: | |
| domain: light | |
| brightness: | |
| name: Brightness | |
| description: Brightness of the light(s) when turning on | |
| default: 50 | |
| selector: | |
| number: | |
| min: 0.0 | |
| max: 100.0 | |
| mode: slider | |
| step: 1.0 | |
| unit_of_measurement: "%" | |
| step_value: | |
| name: Brightness increment/decrement percent | |
| description: Set the step percent value for brightness and color warmth | |
| default: 10 | |
| selector: | |
| number: | |
| min: 1.0 | |
| max: 20.0 | |
| mode: slider | |
| step: 1.0 | |
| unit_of_measurement: "%" | |
| mode: restart | |
| max_exceeded: silent | |
| trigger: | |
| platform: state | |
| entity_id: !input 'remote' | |
| attribute: action | |
| action: | |
| - variables: | |
| command: '{{ trigger.to_state.state }}' | |
| - choose: | |
| - conditions: '{{ command == ''on''}}' | |
| sequence: | |
| - service: light.toggle | |
| target: !input target_light | |
| - conditions: '{{ command == ''brightness_up_click''}}' | |
| sequence: | |
| - service: light.toggle | |
| target: !input target_light | |
| data: | |
| brightness_step_pct: "{{ step_value }}" | |
| transition: 1 | |
| - conditions: '{{ command == ''brightness_down_click''}}' | |
| sequence: | |
| - service: light.toggle | |
| target: !input target_light | |
| data: | |
| brightness_step_pct: "-{{ step_value }}" | |
| transition: 1 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment