Dimmer service

This commit is contained in:
Martin Bauer
2019-06-19 16:12:22 +02:00
parent 72b4d38e80
commit 20f43f4294
12 changed files with 146 additions and 45 deletions

View File

@@ -0,0 +1,17 @@
dim:
description: Increases or decreases brightness of lights
fields:
entity_id:
description: Name(s) of entities or groups
example: 'light.living_room'
offset:
description: New light value is old value plus this offset (full brightness is 255).
Can be negative to decrease brightness
example: 30
factor:
description: Factor to multiply old light value with. Use either offset or factor, not both!
example: 1.3
transition:
description: transition time in seconds
example: 1