Lifx button entities (#23692)

Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
Avi Miller 2022-08-08 21:47:49 +10:00 committed by GitHub
parent c90cdf8abb
commit 1a2ebff89b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,6 +2,7 @@
title: LIFX
description: Instructions on how to integrate LIFX into Home Assistant.
ha_category:
- Button
- Light
ha_iot_class: Local Polling
ha_release: 0.81
@ -9,6 +10,7 @@ ha_config_flow: true
ha_domain: lifx
ha_homekit: true
ha_platforms:
- button
- light
ha_integration_type: integration
ha_codeowners:
@ -114,6 +116,18 @@ Run an effect that does nothing, thereby stopping any other effect that might be
| ---------------------- | ----------- |
| `entity_id` | String or list of strings that point at `entity_id`s of lights. Use `entity_id: all` to target all.
## Buttons
The LIFX button platform creates two buttons for each LIFX device.
### Identify Button
The Identify button will flash the bulb three times at maximum brightness then return the bulb to the state it was in prior. Successful identification requires the bulb to be powered on and already configured in Home Assistant.
### Restart Button
The Restart button triggers the bulb to restart in exactly the same way as a physical power cycle, which makes it ideal for triggering a new DHCP request from the bulb.
## HomeKit Accessory Protocol
Most LIFX devices support Apple HomeKit via the HomeKit Accessory Protocol (HAP). If a LIFX device has not already been added to HomeKit natively using an Apple iOS or macOS device, it can be paired with Home Assistant using via the [HomeKit Controller](/integrations/homekit_controller) integration which uses HAP.