Update Sensibo for config_flow (#20554)

This commit is contained in:
G Johansson 2021-12-22 21:33:29 +01:00 committed by GitHub
parent b76d2db200
commit d7b990fb82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,6 +5,7 @@ ha_category:
- Climate - Climate
ha_release: 0.44 ha_release: 0.44
ha_iot_class: Cloud Polling ha_iot_class: Cloud Polling
ha_config_flow: true
ha_codeowners: ha_codeowners:
- '@andrey-git' - '@andrey-git'
ha_domain: sensibo ha_domain: sensibo
@ -14,42 +15,16 @@ ha_platforms:
Integrates [Sensibo](https://sensibo.com) Air Conditioning controller into Home Assistant. Integrates [Sensibo](https://sensibo.com) Air Conditioning controller into Home Assistant.
To enable this platform, add the following lines to your `configuration.yaml` file: ## Prerequisites
```yaml
# Example configuration.yaml entry
climate:
- platform: sensibo
api_key: YOUR_API_KEY
```
{% configuration %}
api_key:
description: Your Sensibo API key (To get your API key visit `https://home.sensibo.com/me/api`).
required: true
type: string
id:
description: A unit ID or a list of IDs. If none specified then all units accessible by the `api_key` will be used.
required: false
type: string
{% endconfiguration %}
Please click [here](https://home.sensibo.com/me/api) and register to obtain the API key.
<div class="note"> <div class="note">
If you create the API key using a dedicated user (and not your main user), If you create the API key using a dedicated user (and not your main user),
then in the Sensibo app log you will be able to distinguish between actions then in the Sensibo app log you will be able to distinguish between actions
done in the app and actions done by Home Assistant. done in the app and actions done by Home Assistant.
</div> </div>
## Full configuration example {% include integrations/config_flow.md %}
```yaml
climate:
- platform: sensibo
api_key: YOUR_API_KEY
id:
- id1
- id2
```
## Adding a quick switch example ## Adding a quick switch example