


This sensor can be used to trigger automations to occur when a HEV cycle starts or stops. To determine whether or not a HEV cycle is currently running, Home Assistant exposes a Clean Cycle binary sensor for all HEV-enabled bulbs. Home Assistant will return or log an error if an incompatible bulb is specified when calling the service. The service can start or stop a HEV (or “Clean”) cycle either using the default duration configured on the bulb or for a custom duration specified when calling the service. You can control the HEV LEDs in LIFX Clean bulbs using the set_hev_cycle_state service. You can connect up to eight (8) segments and two (2) corner pieces to a single controller, which results in a maximum zone count of 82.Īll devices start counting zones at zero (0), which means the zone numbers for the zones attribute of the t_state service range from 0 to 79 for the LIFX Z and Lightstrip and 0 to 81 for the LIFX Beam. The LIFX Beam has ten (10) zones per segment and one (1) zone per corner piece. You can connect up to ten (10) segments to a single controller, which results in a maximum zone count of 80. The LIFX Z and LIFX Lightstrip each have eight (8) zones per segment. from light.turn_on to specify the new state. Turn the light on ( True) or off ( False). See Calculating zones to affect below for more detail. List of integers for the zone numbers to affect. Use entity_id: all to target all.ĭuration (in seconds) for the light to fade to the new state. String or list of strings that point at entity_ids of lights. Service t_stateĬhange the light to a new state. Thus, LIFX has its own set_state service that allows color changes without affecting the current power state. The normal light.turn_on call cannot be used for this because it always turns the power on. This way, you can control the light during the day, so its settings are correct when events for turning on are received, for example, from motion detectors or external buttons. LIFX lights allow a change of color and brightness even when they are turned off. If it wasn’t discovered automatically, don’t worry! You can set up aįollow the instructions on screen to complete the setup.
