mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-05-02 17:18:58 +00:00

Added hyphen so that this example config will still work if there are already other scenes defined in configuration.yaml
1.0 KiB
1.0 KiB
layout, title, description, date, sidebar, comments, sharing, footer, logo, ha_category, ha_release
layout | title | description | date | sidebar | comments | sharing | footer | logo | ha_category | ha_release |
---|---|---|---|---|---|---|---|---|---|---|
page | LIFX Cloud Scenes | Instructions on using native LIFX scenes with Home Assistant. | 2017-04-15 23:00 | true | false | true | true | lifx.png | Scene | 0.43 |
The lifx_cloud
scene platform allows you to activate the scenes that LIFX smartphone apps store in the LIFX cloud.
# Example configuration.yaml entry
scene:
- platform: lifx_cloud
token: YOUR_LIFX_TOKEN
Configuration variables:
- token (Required): The API token for your LIFX Cloud account.
- timeout (Optional): Network timeout in seconds (defaults to 10).
Getting an API token
You create your API token on the LIFX website:
- Sign in to the LIFX Cloud
- Click on your e-mail address and select Settings
- Now click Generate New Token
- Enter a meaningful label, such as 'Home Assistant'
- Click Generate
- Copy the token that now appears
- Paste the token into the Home Assistant configuration file