You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: doc/installation.md
+36-17
Original file line number
Diff line number
Diff line change
@@ -71,23 +71,34 @@ waste_collection_schedule:
71
71
72
72
| Parameter | Type | Requirement | Description |
73
73
|-----|-----|-----|-----|
74
-
| sources: | | required | Contains information for the service provider being used |
75
-
| name: | string | required | name of the service provider source to use. Should be the same as the source filename, but without the `.py` extension. See the [README](/README.md#supported-service-providers) for supported service providers |
76
-
| args: | various | required | source-specific arguments provided to service provider to unambiguously identify the collection schedule to return. Depending on the service provider, some arguments may be mandatory, and some may be optional. See individual sources for more details |
77
-
| customize: | | optional | Can be used to customise data retrieved from a source |
78
-
| type: | string | required | The identity of the waste type as returned from the source |
79
-
| alias: | string | optional | A more readable, or user-friendly, name for the type of waste being collected. Default is `None` |
80
-
| show: | boolean | optional | Show (`True`) or hide (`False`) collections of this specific waste type. Default is `True` |
81
-
| icon: | string | optional | Icon to use for this specific waste type. Icons from the Home Assistant mdi icon set can be used. Default is `None`. |
82
-
| picture: | string | optional | string representation of the path to a picture used to represent this specific waste type. Default is `None` |
83
-
| use_dedicated_calendar: | boolean | optional | Creates a calendar dedicated to this specific waste type. Default is `False` |
84
-
| dedicated_calendar_title: | string | optional | A more readable, or user-friendly, name for this specific waste calendar object. If nothing is provided, the name returned by the source will be used |
85
-
| fetch_time: | time | optional | representation of the time of day in "HH:MM" that Home Assistant polls service provider for latest collection schedule. If no time is provided, the default of "01:00" is used |
86
-
| random_fetch_time_offset: | int | optional | randomly offsets the `fetch_time` by up to _int_ minutes. Can be used to distribute Home Assistant fetch commands over a longer time frame to avoid peak loads at service providers |
87
-
| day_switch_time: | time | optional | time of the day in "HH:MM" that Home Assistant dismisses the current entry and moves to the next entry. If no time if provided, the default of "10:00" is used. |
88
-
| separator: | string | optional | Used to join entries if the multiple values for a single day are returned by the source. If no value is entered, the default of ", " is used |
89
-
90
-
## Configuring source sensor(s)
74
+
| sources | list | required | Contains information for the service provider being used. For details see [Attributes for sources](#attributes-for-sources) |
75
+
| fetch_time | time | optional | representation of the time of day in "HH:MM" that Home Assistant polls service provider for latest collection schedule. If no time is provided, the default of "01:00" is used |
76
+
| random_fetch_time_offset | int | optional | randomly offsets the `fetch_time` by up to _int_ minutes. Can be used to distribute Home Assistant fetch commands over a longer time frame to avoid peak loads at service providers |
77
+
| day_switch_time | time | optional | time of the day in "HH:MM" that Home Assistant dismisses the current entry and moves to the next entry. If no time if provided, the default of "10:00" is used. |
78
+
| separator | string | optional | Used to join entries if the multiple values for a single day are returned by the source. If no value is entered, the default of ", " is used |
79
+
80
+
## Attributes for _sources_
81
+
82
+
| Parameter | Type | Requirement | Description |
83
+
|-----|-----|-----|-----|
84
+
| name | string | required | name of the service provider source to use. Should be the same as the source filename, but without the `.py` extension. See the [README](/README.md#supported-service-providers) for supported service providers |
85
+
| args | various | required | source-specific arguments provided to service provider to unambiguously identify the collection schedule to return. Depending on the service provider, some arguments may be mandatory, and some may be optional. See individual sources for more details |
86
+
| customize | list | optional | Can be used to customise data retrieved from a source. For details see [Attributes for customize](#attributes-for-customize) |
87
+
| use_dedicated_calendar | boolean | optional | Creates a calendar dedicated to this specific waste type. Default is `False` |
88
+
| dedicated_calendar_title | string | optional | A more readable, or user-friendly, name for this specific waste calendar object. If nothing is provided, the name returned by the source will be used |
89
+
90
+
91
+
## Attributes for _customize_
92
+
93
+
| Parameter | Type | Requirement | Description |
94
+
|-----|-----|-----|-----|
95
+
| type | string | required | The identity of the waste type as returned from the source |
96
+
| alias | string | optional | A more readable, or user-friendly, name for the type of waste being collected. Default is `None` |
97
+
| show | boolean | optional | Show (`True`) or hide (`False`) collections of this specific waste type. Default is `True` |
98
+
| icon | string | optional | Icon to use for this specific waste type. Icons from the Home Assistant mdi icon set can be used. Default is `None`. |
99
+
| picture | string | optional | string representation of the path to a picture used to represent this specific waste type. Default is `None` |
100
+
101
+
## Configuring Sensor(s)
91
102
92
103
Add the following lines to your `configuration.yaml` file:
93
104
@@ -139,6 +150,14 @@ The following variables can be used within `value_template` and `date_template`:
139
150
| `value.daysTo` | Days to collection | int | 0 = today, 1 = tomorrow, etc |
140
151
| `value.types` | Waste types | list of strings | Use `join` filter to join types |
Copy file name to clipboardexpand all lines: doc/source/stavanger_no.md
+6-2
Original file line number
Diff line number
Diff line change
@@ -20,14 +20,19 @@ waste_collection_schedule:
20
20
21
21
**id**
22
22
*(string) (required)*
23
+
23
24
**municipality**
24
25
*(string) (required)*
26
+
25
27
**gnumber**
26
28
*(string) (required)*
29
+
27
30
**bnumber**
28
31
*(string) (required)*
32
+
29
33
**snumber**
30
34
*(string) (required)*
35
+
31
36
## Example
32
37
33
38
```yaml
@@ -47,7 +52,7 @@ waste_collection_schedule:
47
52
Visit the [Stavanger Kommune, Norway](https://www.stavanger.kommune.no/renovasjon-og-miljo/tommekalender/finn-kalender/) page and search for your address.
0 commit comments