From a4f200c94323749b69eed404b4f5ab95cf2f57b1 Mon Sep 17 00:00:00 2001 From: Jeffrey Stone Date: Fri, 10 Apr 2020 13:36:29 -0400 Subject: [PATCH] renaming rain chance sensor --- config/sensors/weather.yaml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/config/sensors/weather.yaml b/config/sensors/weather.yaml index 0b97b09..97aef24 100755 --- a/config/sensors/weather.yaml +++ b/config/sensors/weather.yaml @@ -69,6 +69,11 @@ name: "Accurite Garage lupdate" state_topic: "house/accurite-10968/lastupdate" +- platform: statistics + name: Inside Humidity Stats + entity_id: sensor.current_inside_humidity + sampling_size: 500 + - platform: template sensors: clothing_forecast: @@ -98,7 +103,7 @@ friendly_name: 'Current Forecast' value_template: "{{ states.weather.klzu.attributes.forecast[0].detailed_description }}" nws_current_rain_forecast: - friendly_name: 'Current Rain Forecast' + friendly_name: 'Current Rain Chance' value_template: "{{ states.weather.klzu.attributes.forecast[0].precipitation_probability }}" unit_of_measurement: '%' nws_current_temperature: @@ -181,4 +186,8 @@ {{ states.weather.klzu.attributes.forecast[2].precipitation_probability }} {% elif states.weather.klzu.attributes.forecast[2].daytime == True %} {{ states.weather.klzu.attributes.forecast[3].precipitation_probability }} - {%- endif %} \ No newline at end of file + {%- endif %} + current_inside_humidity: + friendly_name: "Current Inside Humidity" + unit_of_measurement: '%' + value_template: "{{ states.climate.home.sattributes.current_humidity }}" \ No newline at end of file