Add air quality sensors

This commit is contained in:
KemoNine 2019-05-05 19:19:18 +00:00
parent f7cd5c0780
commit ba34f9ab72
2 changed files with 77 additions and 1 deletions

View File

@ -4,7 +4,7 @@ widget_dimensions: [120, 120]
widget_size: [1, 1]
widget_margins: [5, 5]
columns: 7
rows: 7
rows: 9
global_parameters:
use_comma: 0
precision: 1
@ -38,6 +38,11 @@ label_daily:
text: 5 Day Forecast
widget_style: "background: MEDIUMSLATEBLUE;"
label_air_quality:
widget_type: label
text: Air Quality
widget_style: "background: MEDIUMSLATEBLUE;"
# Layout
layout:
- include: header
@ -47,5 +52,8 @@ layout:
- current_icon, current_temperature, current_feels_like, current_humidity, current_precipitation, current_precipitation_intensity, current_precipitation_accumulation
- label_today(7x1)
- today_icon, today_high_temperature, today_low_temperature, today_humidity, today_precipitation, today_precipitation_intensity, today_precipitation_accumulation
- include: weather_air_quality
- label_air_quality(7x1)
- cold_flue_forecast, allergy_index_today, allergy_index_tomorrow, allergy_index_forecast, asthma_index_today, asthma_index_tomorrow, asthma_index_forecast
- label_hourly(6x1), nav_weather_hourly
- label_daily(6x1), nav_weather_5day

View File

@ -0,0 +1,68 @@
# Per pollen.com ha docs
#low: 0-2.4
#low/medium: 2.5-4.8
#medium: 4.9-7.2
#medium/high: 7.3 - 9.6
#high: 9.7-12
label_medical_bag:
widget_type: navigate
dashboard: Weather_Hourly
icon_inactive: mdi-medical-bag
widget_style: "background: DARKSLATEBLUE;"
allergy_index_today:
widget_type: gauge
entity: sensor.allergy_index_today
title: Allergy Index Today
max: 12
min: 0
units: ""
allergy_index_tomorrow:
widget_type: gauge
entity: sensor.allergy_index_tomorrow
title: Allergy Index Tomorrow
max: 12
min: 0
units: ""
allergy_index_forecast:
widget_type: gauge
entity: sensor.asthma_index_forecasted_average
title: Allergy Forecast
max: 12
min: 0
units: ""
asthma_index_today:
widget_type: gauge
entity: sensor.asthma_index_today
title: Asthma Today
max: 12
min: 0
units: ""
asthma_index_tomorrow:
widget_type: gauge
entity: sensor.asthma_index_tomorrow
title: Asthma Tomorrow
max: 12
min: 0
units: ""
asthma_index_forecast:
widget_type: gauge
entity: sensor.asthma_index_forecasted_average
title: Asthma Forecast
max: 12
min: 0
units: ""
cold_flue_forecast:
widget_type: gauge
entity: sensor.cold_flu_forecasted_average
title: Cold/Flue Forecast
max: 12
min: 0
units: ""