LIFX Cloud
The lifx_cloud
scene integrationIntegrations connect and integrate Home Assistant with your devices, services, and more. [Learn more] allows you to activate the scenes that LIFX smartphone apps store in the LIFX cloud.
To enable the LIFX Cloud integrationIntegrations connect and integrate Home Assistant with your devices, services, and more. [Learn more], add it to your configuration.yaml
The configuration.yaml file is the main configuration file for Home Assistant. It lists the integrations to be loaded and their specific configurations. In some cases, the configuration needs to be edited manually directly in the configuration.yaml file. Most integrations can be configured in the UI. [Learn more] file.
After changing the configuration.yaml
The configuration.yaml file is the main configuration file for Home Assistant. It lists the integrations to be loaded and their specific configurations. In some cases, the configuration needs to be edited manually directly in the configuration.yaml file. Most integrations can be configured in the UI. [Learn more] file, restart Home Assistant to apply the changes. The integration is now shown on the integrations page under Settings > Devices & services. Its entities are listed on the integration card itself and on the Entities tab.
# 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
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