Skip to content

Commit

Permalink
Update integration doc to mention all breaking changes (home-assistan…
Browse files Browse the repository at this point in the history
…t#12197)

* update integration doc to mention all breaking changes

* remove breaking change info from docs
  • Loading branch information
benleb authored Mar 2, 2020
1 parent a7a3d0a commit 42a8fa1
Showing 1 changed file with 9 additions and 46 deletions.
55 changes: 9 additions & 46 deletions source/_integrations/surepetcare.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ The `surepetcare` component allows you to get information on your Sure Petcare C

## Configuration

To add a flap and pet, add the following to your `configuration.yaml` file:
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
Expand All @@ -37,59 +37,22 @@ surepetcare:
required: true
type: string
flaps:
description: The Sure Petcare flaps
required: true
type: map
keys:
id:
description: The Sure Petcare id of a flap
required: true
type: integer
name:
description: A name for the flap
required: true
type: string
description: The IDs of the Sure Petcare flaps
required: false
type: list
feeders:
description: The Sure Petcare feeders
required: true
type: map
keys:
id:
description: The Sure Petcare id of a feeder
required: true
type: integer
name:
description: A name for the feeder
required: true
type: string
description: The IDs of the Sure Petcare feeders
required: false
type: list
pets:
description: Pets managed by Sure Petcare flap(s)
required: true
type: map
keys:
id:
description: The Sure Petcare id of a pet
required: true
type: integer
name:
description: The name of the pet
required: true
type: string
icon:
description: "Icon to display (e.g., `mdi:cat`)"
description: The Sure Petcare IDs of the Pets to show
required: false
default: "mdi:cat"
type: string
type: list
scan_interval:
description: "Minimum time interval between updates. Supported formats: `scan_interval: 'HH:MM:SS'`, `scan_interval: 'HH:MM'` and Time period dictionary (see example below)."
required: false
default: 3 minutes
type: time
device_class:
description: The type/class of the sensor to set the icon in the frontend.
required: false
default: lock
type: device_class
{% endconfiguration %}

## Getting the IDs of your flaps, feeders and pets
Expand Down

0 comments on commit 42a8fa1

Please sign in to comment.