Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions source/_components/sensor.pollen.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ liking):
```yaml
sensor:
platform: pollen
zip_code: ZIP_CODE
zip_code: "00544"
monitored_conditions:
- allergy_average_forecasted
- allergy_average_historical
Expand All @@ -42,15 +42,20 @@ sensor:

{% configuration %}
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
type: int
type: string
monitored_conditions:
description: the metric types to monitor; valid values are specified below
required: true
type: list
{% 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 %}

The following metrics can be monitored:
Expand Down