Skip to content

Commit a8312db

Browse files
authored
Add config flow to Stookalert (home-assistant#19620)
1 parent 8c19730 commit a8312db

File tree

1 file changed

+4
-22
lines changed

1 file changed

+4
-22
lines changed

source/_integrations/stookalert.markdown

Lines changed: 4 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -8,31 +8,13 @@ ha_release: 0.104
88
ha_iot_class: Cloud Polling
99
ha_codeowners:
1010
- '@fwestenberg'
11+
- '@frenck'
1112
ha_domain: stookalert
13+
ha_config_flow: true
1214
ha_platforms:
1315
- binary_sensor
1416
---
1517

16-
The `stookalert` sensor platform queries the [RIVM Stookalert](https://www.rivm.nl/stookalert) API for unfavorable weather conditions or poor air quality. With a Stookalert, the RIVM calls on people not to burn wood. This can prevent health problems in people in the area.
18+
The Stookalert integration queries the [RIVM Stookalert](https://www.rivm.nl/stookalert) API for unfavorable weather conditions or poor air quality. With a Stookalert, the RIVM calls on people not to burn wood. This can prevent health problems in people in the area.
1719

18-
## Configuration
19-
20-
To enable the platform, add the following lines to your `configuration.yaml` file:
21-
22-
```yaml
23-
binary_sensor:
24-
- platform: stookalert
25-
province: YOUR_NL_PROVINCE
26-
```
27-
28-
{% configuration %}
29-
province:
30-
description: A province to use for the binary sensor's state. Currently only provinces in the Netherlands are supported. Valid values are `Drenthe`, `Flevoland`, `Friesland`, `Gelderland`, `Groningen`, `Limburg`, `Noord-Brabant`, `Noord-Holland`, `Overijssel`, `Utrecht`, `Zeeland` or `Zuid-Holland`.
31-
required: true
32-
type: string
33-
name:
34-
description: The sensor name to use in the frontend.
35-
required: false
36-
default: "Stookalert"
37-
type: string
38-
{% endconfiguration %}
20+
{% include integrations/config_flow.md %}

0 commit comments

Comments
 (0)