mirror of
https://github.com/elisspace/core.git
synced 2026-10-08 18:18:33 +00:00
* Remove global limit on white light temperature Here are the supported temperatures of some popular bulbs: Philips Hue: 2000K-6500K (the current 500-154 mired range) LIFX Color 1000: 2500K-9000K IKEA TRÅDFRI: 2200K, 2700K, 4000K Obviously, Home Assistant cannot enforce a global limit and work properly with all of these bulbs. So just remove the limit and leave it up to each platform to work it out. This commit updates the existing users and adds a clamp to Hue (where the limit appears to have originated). It does not attempt to update other platforms that might need extra handling of the larger range that is now possible. * Add min_mireds/max_mireds state attributes to lights * Support min_mireds/max_mireds with LIFX lights
96 lines
2.0 KiB
YAML
96 lines
2.0 KiB
YAML
# Describes the format for available light services
|
|
|
|
turn_on:
|
|
description: Turn a light on
|
|
|
|
fields:
|
|
entity_id:
|
|
description: Name(s) of entities to turn on
|
|
example: 'light.kitchen'
|
|
|
|
transition:
|
|
description: Duration in seconds it takes to get to next state
|
|
example: 60
|
|
|
|
rgb_color:
|
|
description: Color for the light in RGB-format
|
|
example: '[255, 100, 100]'
|
|
|
|
color_name:
|
|
description: A human readable color name
|
|
example: 'red'
|
|
|
|
xy_color:
|
|
description: Color for the light in XY-format
|
|
example: '[0.52, 0.43]'
|
|
|
|
color_temp:
|
|
description: Color temperature for the light in mireds
|
|
example: '250'
|
|
|
|
white_value:
|
|
description: Number between 0..255 indicating level of white
|
|
example: '250'
|
|
|
|
brightness:
|
|
description: Number between 0..255 indicating brightness
|
|
example: 120
|
|
|
|
profile:
|
|
description: Name of a light profile to use
|
|
example: relax
|
|
|
|
flash:
|
|
description: If the light should flash
|
|
values:
|
|
- short
|
|
- long
|
|
|
|
effect:
|
|
description: Light effect
|
|
values:
|
|
- colorloop
|
|
- random
|
|
|
|
turn_off:
|
|
description: Turn a light off
|
|
|
|
fields:
|
|
entity_id:
|
|
description: Name(s) of entities to turn off
|
|
example: 'light.kitchen'
|
|
|
|
transition:
|
|
description: Duration in seconds it takes to get to next state
|
|
example: 60
|
|
|
|
flash:
|
|
description: If the light should flash
|
|
values:
|
|
- short
|
|
- long
|
|
|
|
toggle:
|
|
description: Toggles a light
|
|
|
|
fields:
|
|
entity_id:
|
|
description: Name(s) of entities to toggle
|
|
example: 'light.kitchen'
|
|
|
|
transition:
|
|
description: Duration in seconds it takes to get to next state
|
|
example: 60
|
|
|
|
hue_activate_scene:
|
|
description: Activate a hue scene stored in the hue hub
|
|
|
|
fields:
|
|
group_name:
|
|
description: Name of hue group/room from the hue app
|
|
example: "Living Room"
|
|
|
|
scene_name:
|
|
description: Name of hue scene from the hue app
|
|
example: "Energize"
|