We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Re: #126 & #118
The text was updated successfully, but these errors were encountered:
Add pollen.com sensor re: #129
8d8418e
- platform: rest name: pollen resource: https://www.pollen.com/api/forecast/current/pollen/60640 value_template: "{{value_json.Location.periods[1].Index}}" scan_interval: 21600 headers: Referer: "https://www.pollen.com" - platform: rest name: cold_flu resource: https://www.pollen.com/api/forecast/extended/cold/60640 value_template: "{{value_json.Location.periods[0].Index}}" scan_interval: 21600 headers: Referer: "https://www.pollen.com" pollen_level: friendly_name: 'Pollen Level' value_template: >- {%- if states.sensor.pollen.state|float <= 2.4 %} Low {%- elif states.sensor.pollen.state|float <= 4.8 %} Medium-Low {%- elif states.sensor.pollen.state|float <= 7.2 %} Medium {%- elif states.sensor.pollen.state|float <= 9.6 %} Medium-High {%- elif states.sensor.pollen.state|float <= 12.0 %} High {% else %} Unknown {%- endif %} cold_flu_risk: friendly_name: 'Cold & Flu Risk' value_template: >- {%- if states.sensor.cold_flu.state|float <= 2.4 %} Low {%- elif states.sensor.cold_flu.state|float <= 4.8 %} Medium-Low {%- elif states.sensor.cold_flu.state|float <= 7.2 %} Medium {%- elif states.sensor.cold_flu.state|float <= 9.6 %} Medium-High {%- elif states.sensor.cold_flu.state|float <= 12.0 %} High {% else %} Unknown {%- endif %}
Sorry, something went wrong.
Re: #129
4cc4377
8ee198a
brianjking
No branches or pull requests
Re: #126 & #118
The text was updated successfully, but these errors were encountered: