From d7b990fb8238214ad58844b3ccec133541c19b2d Mon Sep 17 00:00:00 2001 From: G Johansson Date: Wed, 22 Dec 2021 21:33:29 +0100 Subject: [PATCH] Update Sensibo for config_flow (#20554) --- source/_integrations/sensibo.markdown | 33 ++++----------------------- 1 file changed, 4 insertions(+), 29 deletions(-) diff --git a/source/_integrations/sensibo.markdown b/source/_integrations/sensibo.markdown index 386d16243b3..f64a6ab99e1 100644 --- a/source/_integrations/sensibo.markdown +++ b/source/_integrations/sensibo.markdown @@ -5,6 +5,7 @@ ha_category: - Climate ha_release: 0.44 ha_iot_class: Cloud Polling +ha_config_flow: true ha_codeowners: - '@andrey-git' ha_domain: sensibo @@ -14,42 +15,16 @@ ha_platforms: Integrates [Sensibo](https://sensibo.com) Air Conditioning controller into Home Assistant. -To enable this platform, add the following lines to your `configuration.yaml` file: - -```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 %} +## Prerequisites +Please click [here](https://home.sensibo.com/me/api) and register to obtain the API key.
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 done in the app and actions done by Home Assistant.
-## Full configuration example - -```yaml -climate: - - platform: sensibo - api_key: YOUR_API_KEY - id: - - id1 - - id2 -``` +{% include integrations/config_flow.md %} ## Adding a quick switch example