Update lutron caseta for config flow and one touch pairing (#16215)

This commit is contained in:
J. Nick Koston 2021-01-22 17:48:18 -06:00 committed by GitHub
parent 23a9cc7343
commit 45597a2ac3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,6 +12,7 @@ ha_category:
ha_release: 0.41
ha_iot_class: Local Push
ha_domain: lutron_caseta
ha_config_flow: true
ha_codeowners:
- '@swails'
---
@ -29,6 +30,10 @@ The currently supported Caseta and RA2 Select devices are:
- Lutron smart [fan](#fan) speed control
- Lutron Occupancy/Vacancy [sensors](#sensor)
If you have physical access to the Lutron Bridge, to add `Lutron Caséta` to your installation, go to **Configuration** >> **Integrations** in the UI, click the button with `+` sign and from the list of integrations select **Lutron Caséta**.
Alternatively, if you already have `caseta.key`, `caseta.crt`, `caseta-bridge.crt`, and cannot physically access the bridge to press the button, pairing can be done manually using the following steps:
When configured, the `lutron_caseta` integration will automatically discover the currently supported devices as setup in the Lutron Smart Bridge. The name assigned in the Lutron mobile app will be used to form the `entity_id` used in Home Assistant. e.g., a dimmer called 'Lamp' in a room called 'Bedroom' becomes `light.bedroom_lamp` in Home Assistant.
To use Lutron Caseta devices in your installation, you must first log in to your Lutron account and generate a certificate that allows Home Assistant to connect to your bridge. This can be accomplished by downloading and executing [get_lutron_cert.py](https://github.com/gurumitts/pylutron-caseta/blob/master/get_lutron_cert.py), which will generate three files: caseta.key, caseta.crt, caseta-bridge.crt when you run it. See the instructions at the top of the script for more information.