Add Surepetcare config flow (#19322)

* Surepetcare, add config flow

* ha_config_flow: true
This commit is contained in:
Daniel Hjelseth Høyer 2021-09-15 13:41:03 +02:00 committed by GitHub
parent 3781eb0745
commit 2ed1551dfa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,6 +10,7 @@ ha_codeowners:
- '@benleb' - '@benleb'
- '@danielhiversen' - '@danielhiversen'
ha_domain: surepetcare ha_domain: surepetcare
ha_config_flow: true
ha_platforms: ha_platforms:
- binary_sensor - binary_sensor
- 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. 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 ## Services