mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-28 11:47:00 +00:00
Added docs for https://github.com/home-assistant/home-assistant/issues/12787 (#4784)
This commit is contained in:
parent
86b5a59e21
commit
5c324c2f36
@ -30,7 +30,7 @@ liking):
|
|||||||
```yaml
|
```yaml
|
||||||
sensor:
|
sensor:
|
||||||
platform: pollen
|
platform: pollen
|
||||||
zip_code: ZIP_CODE
|
zip_code: "00544"
|
||||||
monitored_conditions:
|
monitored_conditions:
|
||||||
- allergy_average_forecasted
|
- allergy_average_forecasted
|
||||||
- allergy_average_historical
|
- allergy_average_historical
|
||||||
@ -42,15 +42,20 @@ sensor:
|
|||||||
|
|
||||||
{% configuration %}
|
{% configuration %}
|
||||||
zip_code:
|
zip_code:
|
||||||
description: the U.S. ZIP code to gather data for
|
description: the U.S. ZIP code to gather data for (as a quoted string)
|
||||||
required: true
|
required: true
|
||||||
type: int
|
type: string
|
||||||
monitored_conditions:
|
monitored_conditions:
|
||||||
description: the metric types to monitor; valid values are specified below
|
description: the metric types to monitor; valid values are specified below
|
||||||
required: true
|
required: true
|
||||||
type: list
|
type: list
|
||||||
{% endconfiguration %}
|
{% endconfiguration %}
|
||||||
|
|
||||||
|
<p class='note warning'>
|
||||||
|
It is important to ensure the ZIP code is quoted if it starts with a 0. Unquoted
|
||||||
|
ZIP codes that start with 0 will cause errors.
|
||||||
|
</p>
|
||||||
|
|
||||||
## {% linkable_title Available Metrics %}
|
## {% linkable_title Available Metrics %}
|
||||||
|
|
||||||
The following metrics can be monitored:
|
The following metrics can be monitored:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user