Add rain history
This commit is contained in:
@ -226,7 +226,6 @@ influxdb:
|
|||||||
- sensor.tm24fan8_home_assistant_configs_issues
|
- sensor.tm24fan8_home_assistant_configs_issues
|
||||||
- binary_sensor.internet
|
- binary_sensor.internet
|
||||||
- binary_sensor.people_present
|
- binary_sensor.people_present
|
||||||
- binary_sensor.precipitation
|
|
||||||
- weather.iron_nerd_weather_station
|
- weather.iron_nerd_weather_station
|
||||||
- sensor.circle_k
|
- sensor.circle_k
|
||||||
- sensor.kroger
|
- sensor.kroger
|
||||||
|
@ -149,6 +149,16 @@ sensor:
|
|||||||
# max_age:
|
# max_age:
|
||||||
# days: 7
|
# days: 7
|
||||||
|
|
||||||
|
- platform: openweathermaphistory
|
||||||
|
name: 'Rain Factor'
|
||||||
|
api_key: !secret openweathermap_api
|
||||||
|
day0sig: 1
|
||||||
|
day1sig: 0.5
|
||||||
|
day2sig: 0.25
|
||||||
|
day3sig: 0.12
|
||||||
|
day4sig: 0.06
|
||||||
|
watertarget: 0.5
|
||||||
|
|
||||||
- platform: template
|
- platform: template
|
||||||
sensors:
|
sensors:
|
||||||
current_forecast:
|
current_forecast:
|
||||||
@ -969,6 +979,12 @@ sensor:
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
{{ ns.temps | min | int }}
|
{{ ns.temps | min | int }}
|
||||||
icon_template: mdi:thermometer
|
icon_template: mdi:thermometer
|
||||||
|
rain_24hr:
|
||||||
|
friendly_name: 'Rain - 24 Hours'
|
||||||
|
unique_id: 26d2b945-f676-4c3c-8a4f-4b3b909d62dd
|
||||||
|
unit_of_measurement: 'in'
|
||||||
|
value_template: "{{ state_attr('sensor.rain_factor','day_0_rain') | float }}"
|
||||||
|
icon_template: mdi:weather-rainy
|
||||||
|
|
||||||
input_number:
|
input_number:
|
||||||
today_calculated_high_temp:
|
today_calculated_high_temp:
|
||||||
|
Reference in New Issue
Block a user