Last active
June 8, 2023 11:06
-
-
Save ps-jay/f695833c2c76d3feb89613be6b7ec095 to your computer and use it in GitHub Desktop.
Simple Dim
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: Simple Dim | |
| description: Dim specified lights by set percentage | |
| source_url: https://gist.github.com/ps-jay/f695833c2c76d3feb89613be6b7ec095 | |
| domain: automation | |
| input: | |
| lights: | |
| name: Lights | |
| description: Lights to dim | |
| default: [] | |
| selector: | |
| target: | |
| entity: | |
| domain: light | |
| percent: | |
| name: Percent | |
| description: Percent to dim (can be negative) | |
| selector: | |
| number: | |
| min: -100.0 | |
| max: 100.0 | |
| step: 1.0 | |
| mode: slider | |
| transition: | |
| name: Transition | |
| description: Transition time to apply the dimming in seconds | |
| default: 0 | |
| selector: | |
| number: | |
| mode: box | |
| step: 0.1 | |
| trigger: [] | |
| condition: [] | |
| action: | |
| - service: light.turn_on | |
| data: | |
| brightness_step_pct: !input percent | |
| transition: !input transition | |
| target: !input lights |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment