Tell light to flash, can be either value short or long.Īpplies an effect such as colorloop or random.Living Glow 4-pack Rechargeable Color-Changing LED Motion Lights Note that white does not have a corresponding state attribute, so the color_mode state attribute will be set to white. Set the light to white mode by setting this to True. Should be between -255.255.Ĭhange brightness by a percentage. Integer between 0 and 255 for how bright the light should be, where 0 means the light is off, 1 is the minimum brightness and 255 is the maximum brightness supported by the light.Īlternatively, you can specify brightness in percent (a number between 0 and 100), where 0 means the light is off, 1 is the minimum brightness and 100 is the maximum brightness supported by the light.Ĭhange brightness by an amount. (Deprecated) Alternatively, you can specify the color temperature in Mireds.Ī human-readable string of a color name, such as blue or goldenrod. (Deprecated) Use color_temp_kelvin instead. This attribute will be ignored by lights which do not support RGBWW colors.Īn integer in Kelvin representing the color temperature you want the light to be. Five comma-separated integers that represent the color in RGBWW (red, green, blue, cold white, warm white), within square brackets. This attribute will be ignored by lights which do not support RGBW colors.Ī list containing five integers between 0 and 255 representing the RGBWW color you want the light to be. Four comma-separated integers that represent the color in RGBW (red, green, blue, white), within square brackets. Three comma-separated integers that represent the color in RGB, within square brackets.Ī list containing four integers between 0 and 255 representing the RGBW color you want the light to be. Two comma-separated floats that represent the color in XY.Ī list containing three integers between 0 and 255 representing the RGB color you want the light to be. Hue is scaled 0-360, and saturation is scaled 0-100.Ī list containing two floats representing the xy color you want the light to be. If a profile is given, and a brightness is set, then the profile brightness will be overwritten.Ī list containing two floats representing the hue and saturation of the color you want the light to be. Light profiles define an xy color, brightness and a transition value (if no transition is desired, set to 0 or leave out the column entirely). String with the name of one of the built-in profiles (relax, energize, concentrate, reading) or one of the custom profiles defined in light_profiles.csv in the current working directory. Number that represents the time (in seconds) the light should take to transition to the new state. To target all lights, set entity_id to all. String or list of strings that point at entity_ids of lights. You can check the integration documentation of your particular light for hints, but in general, you will have to try things out and see what works. Most lights do not support all attributes. Turns one light on or multiple lights on using groups. The transition attribute will be applied for all light.turn_on, light.toggle and light.turn_off service calls, unless specified otherwise in the service call data. If a light entity is in the on state, the default profile brightness will only be applied if it is called in the service call data attribute profile, like any other named profile.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |