Updated clothing sensor and updated update_scan to scan_interval
This commit is contained in:
parent
a03b3e5600
commit
ab8c285e93
|
@ -26,18 +26,13 @@
|
||||||
- hourly_summary
|
- hourly_summary
|
||||||
- daily_summary
|
- daily_summary
|
||||||
- precip_intensity_max
|
- precip_intensity_max
|
||||||
update_interval:
|
scan_interval:
|
||||||
# At least one of these must be specified:
|
# At least one of these must be specified:
|
||||||
days: 0
|
days: 0
|
||||||
hours: 0
|
hours: 0
|
||||||
minutes: 5
|
minutes: 5
|
||||||
seconds: 0
|
seconds: 0
|
||||||
milliseconds: 0
|
milliseconds: 0
|
||||||
- platform: pollen
|
|
||||||
zip_code: "30017"
|
|
||||||
monitored_conditions:
|
|
||||||
- allergy_index_today
|
|
||||||
- asthma_index_today
|
|
||||||
## Accurite 158 - Back Porch
|
## Accurite 158 - Back Porch
|
||||||
- platform: mqtt
|
- platform: mqtt
|
||||||
name: "Accurite Back Porch Temperature"
|
name: "Accurite Back Porch Temperature"
|
||||||
|
@ -76,22 +71,22 @@
|
||||||
friendly_name: "Clothing Forecast"
|
friendly_name: "Clothing Forecast"
|
||||||
unit_of_measurement: ''
|
unit_of_measurement: ''
|
||||||
value_template: >-
|
value_template: >-
|
||||||
{%- if states('sensor.dark_sky_daytime_high_temperature_0')|float > 63 %}
|
{%- if states('sensor.dark_sky_daytime_high_temperature_0d')|float > 63 %}
|
||||||
{%- if states('sensor.dark_sky_daytime_high_temperature_0')|float < 80 %}
|
{%- if states('sensor.dark_sky_daytime_high_temperature_0d')|float < 80 %}
|
||||||
Nice
|
Nice
|
||||||
{% elif states('sensor.dark_sky_daytime_high_temperature_0')|float > 95 %}
|
{% elif states('sensor.dark_sky_daytime_high_temperature_0d')|float > 95 %}
|
||||||
Hot
|
Hot
|
||||||
{% else %}
|
{% else %}
|
||||||
Toasty
|
Toasty
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
{% elif states('sensor.dark_sky_daytime_high_temperature_0')|float < 64 %}
|
{% elif states('sensor.dark_sky_daytime_high_temperature_0d')|float < 64 %}
|
||||||
{%- if states('sensor.dark_sky_daytime_high_temperature_0')|float < 32 %}
|
{%- if states('sensor.dark_sky_daytime_high_temperature_0d')|float < 32 %}
|
||||||
Freezing
|
Freezing
|
||||||
{% elif states('sensor.dark_sky_daytime_high_temperature_0')|float > 50 %}
|
{% elif states('sensor.dark_sky_daytime_high_temperature_0d')|float > 50 %}
|
||||||
Chilly
|
Chilly
|
||||||
{% else %}
|
{% else %}
|
||||||
Cold
|
Cold
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
{% else %}
|
{% else %}
|
||||||
Unknown
|
Unknown
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|
Loading…
Reference in New Issue