mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-04-29 07:47:48 +00:00
1.5 KiB
1.5 KiB
title | description | ha_category | ha_iot_class | ha_release | ha_domain | ha_platforms | ha_integration_type | related | ha_quality_scale | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
LIFX Cloud | Instructions on using native LIFX scenes with Home Assistant. |
|
Cloud Push | 0.43 | lifx_cloud |
|
integration |
|
legacy |
The lifx_cloud
scene {% term integration %} allows you to activate the scenes that LIFX smartphone apps store in the LIFX cloud.
To enable the LIFX Cloud {% term integration %}, add it to your {% term "configuration.yaml
" %} file.
{% include integrations/restart_ha_after_config_inclusion.md %}
# Example configuration.yaml entry
scene:
- platform: lifx_cloud
token: YOUR_LIFX_TOKEN
You can then activate each scene with its name from the smartphone app:
- action: scene.turn_on
target:
entity_id: scene.goodnight
{% configuration %} token: description: The API token for your LIFX Cloud account. required: true type: string timeout: description: Network timeout in seconds. required: false default: 10 type: integer {% endconfiguration %}
Getting an API token
You create your API token on the LIFX website:
- Sign in to the LIFX Cloud
- Click on your email address and select Personal Access Tokens
- 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