adaptive-lighting/custom_components/adaptive_lighting/services.yaml

36 lines
1.4 KiB
YAML
Raw Normal View History

2020-09-25 10:27:02 +02:00
apply:
description: Applies the current Adaptive Lighting settings to lights.
fields:
entity_id:
2020-09-25 16:45:10 +02:00
description: entity_id of the Adaptive Lighting switch.
2020-09-25 10:27:02 +02:00
example: switch.adaptive_lighting_default
lights:
description: "entity_id(s) of lights, default: lights of the switch"
2020-09-25 10:27:02 +02:00
example: light.bedroom_ceiling
transition:
2020-09-25 16:45:10 +02:00
description: Transition of the lights.
2020-09-25 10:27:02 +02:00
example: 10
2020-09-29 23:39:46 +02:00
adapt_brightness:
description: "Adapt the 'brightness', default: true"
example: true
2020-10-25 09:35:54 +01:00
adapt_color:
description: "Adapt the color_temp/color_rgb, default: true"
2020-09-29 23:39:46 +02:00
example: true
2020-10-25 09:35:54 +01:00
prefer_rgb_color:
description: "Prefer to use color_rgb over color_temp if possible, default: false"
example: false
2020-09-29 23:39:46 +02:00
turn_on_lights:
description: "Turn on the lights that are off, default: false"
2020-09-25 16:45:10 +02:00
example: false
set_manual_control:
description: Mark whether a light is 'manually controlled'.
2020-10-13 22:39:38 +02:00
fields:
entity_id:
description: entity_id of the Adaptive Lighting switch.
example: switch.adaptive_lighting_default
manual_control:
description: "Whether to add ('true') or remove ('false') the light from the 'manual_control' list, default: true"
2020-10-14 07:50:45 +02:00
example: true
2020-10-13 22:39:38 +02:00
lights:
description: entity_id(s) of lights, if not specified, all lights in the switch are selected.
2020-10-13 22:39:38 +02:00
example: light.bedroom_ceiling