mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 18:40:14 -04:00
renames, fixes , and other fun schtuff
This commit is contained in:
@@ -342,7 +342,7 @@ template:
|
||||
- trigger:
|
||||
- platform: state
|
||||
entity_id: binary_sensor.is_raining
|
||||
not_from:
|
||||
not_to:
|
||||
- "unknown"
|
||||
- "unavailable"
|
||||
|
||||
@@ -416,7 +416,7 @@ automation:
|
||||
to: "on"
|
||||
|
||||
- platform: state
|
||||
entity_id: sensor.ecowitt_wh40_21917_precipitation
|
||||
entity_id: sensor.rain_gauge_precipitation
|
||||
not_to:
|
||||
- "unknown"
|
||||
- "unavailable"
|
||||
@@ -433,7 +433,7 @@ automation:
|
||||
target:
|
||||
entity_id: notify.precipitation
|
||||
data:
|
||||
message: "{{now().strftime('%Y-%m-%d')}}T{{now().strftime('%H:%M:%S.%f')}},{{states('sensor.ecowitt_wh40_21917_precipitation')}},{{states('binary_sensor.is_raining')}},{{state_attr('binary_sensor.is_raining','sample_count')}},{{state_attr('binary_sensor.is_raining','sample_duration')}},{{state_attr('binary_sensor.is_raining','min_gradient')}},{{state_attr('binary_sensor.is_raining','gradient')}}"
|
||||
message: "{{now().strftime('%Y-%m-%d')}}T{{now().strftime('%H:%M:%S.%f')}},{{states('sensor.rain_gauge_precipitation')}},{{states('binary_sensor.is_raining')}},{{state_attr('binary_sensor.is_raining','sample_count')}},{{state_attr('binary_sensor.is_raining','sample_duration')}},{{state_attr('binary_sensor.is_raining','min_gradient')}},{{state_attr('binary_sensor.is_raining','gradient')}}"
|
||||
|
||||
- alias: "Sprinkler: Reset After Automatic Run"
|
||||
id: automation_sprinkler_reset_after_automatic_run
|
||||
@@ -688,7 +688,7 @@ utility_meter:
|
||||
rain_quarter_hourly:
|
||||
unique_id: utility_meter_rain_quarter_hourly
|
||||
name: "Rain: Quarter Hourly"
|
||||
source: sensor.ecowitt_wh40_21917_precipitation
|
||||
source: sensor.rain_gauge_precipitation
|
||||
cycle: quarter-hourly
|
||||
tariffs:
|
||||
- Precipitation
|
||||
@@ -696,7 +696,7 @@ utility_meter:
|
||||
rain_hourly:
|
||||
unique_id: utility_meter_rain_hourly
|
||||
name: "Rain: Hourly"
|
||||
source: sensor.ecowitt_wh40_21917_precipitation
|
||||
source: sensor.rain_gauge_precipitation
|
||||
cycle: hourly
|
||||
tariffs:
|
||||
- Precipitation
|
||||
@@ -704,7 +704,7 @@ utility_meter:
|
||||
rain_daily:
|
||||
unique_id: utility_meter_rain_daily
|
||||
name: "Rain: Daily"
|
||||
source: sensor.ecowitt_wh40_21917_precipitation
|
||||
source: sensor.rain_gauge_precipitation
|
||||
cycle: daily
|
||||
offset: "12:00"
|
||||
tariffs:
|
||||
@@ -713,7 +713,7 @@ utility_meter:
|
||||
rain_monthly:
|
||||
unique_id: utility_meter_rain_monthly
|
||||
name: "Rain: Monthly"
|
||||
source: sensor.ecowitt_wh40_21917_precipitation
|
||||
source: sensor.rain_gauge_precipitation
|
||||
cycle: monthly
|
||||
tariffs:
|
||||
- Precipitation
|
||||
@@ -721,7 +721,7 @@ utility_meter:
|
||||
rain_yearly:
|
||||
unique_id: utility_meter_rain_yearly
|
||||
name: "Rain: Yearly"
|
||||
source: sensor.ecowitt_wh40_21917_precipitation
|
||||
source: sensor.rain_gauge_precipitation
|
||||
cycle: yearly
|
||||
tariffs:
|
||||
- Precipitation
|
||||
@@ -729,7 +729,7 @@ utility_meter:
|
||||
sprinkler_recent_rain:
|
||||
unique_id: utility_meter_sprinkler_recent_rain
|
||||
name: "Sprinkler: Recent Rain"
|
||||
source: sensor.ecowitt_wh40_21917_precipitation
|
||||
source: sensor.rain_gauge_precipitation
|
||||
cycle: yearly
|
||||
tariffs:
|
||||
- Precipitation
|
||||
|
||||
Reference in New Issue
Block a user