From 2ed1551dfa23e6b351556ee27f7c84f6a427562b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Hjelseth=20H=C3=B8yer?= Date: Wed, 15 Sep 2021 13:41:03 +0200 Subject: [PATCH] Add Surepetcare config flow (#19322) * Surepetcare, add config flow * ha_config_flow: true --- source/_integrations/surepetcare.markdown | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/source/_integrations/surepetcare.markdown b/source/_integrations/surepetcare.markdown index e562dbffa1f..eeafba86340 100644 --- a/source/_integrations/surepetcare.markdown +++ b/source/_integrations/surepetcare.markdown @@ -10,6 +10,7 @@ ha_codeowners: - '@benleb' - '@danielhiversen' ha_domain: surepetcare +ha_config_flow: true ha_platforms: - binary_sensor - sensor @@ -17,27 +18,8 @@ ha_platforms: The `surepetcare` component allows you to get information on your Sure Petcare Connect Pet or Cat Flap. -## Configuration +{% include integrations/config_flow.md %} -To add a flap, feeder or pet, add the following to your `configuration.yaml` file. The Hubs a flap or feeder is connected to, will be discovered automatically. - -```yaml -# Example configuration.yaml entry -surepetcare: - username: YOUR_SURE_PETCARE_LOGIN - password: YOUR_SURE_PETCARE_PASSWORD -``` - -{% configuration %} - username: - description: The Sure Petcare Username/Email - required: true - type: string - password: - description: The Sure Petcare Password - required: true - type: string -{% endconfiguration %} ## Services