diff --git a/source/_integrations/surepetcare.markdown b/source/_integrations/surepetcare.markdown index ca7cf3216595..42b23ef4cb4a 100644 --- a/source/_integrations/surepetcare.markdown +++ b/source/_integrations/surepetcare.markdown @@ -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 @@ -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