mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-10 02:50:12 -04:00
Remove logging and clear up some general cruft
This commit is contained in:
@@ -3,14 +3,6 @@ input_boolean:
|
||||
name: "Sprinkler: Is Winterized"
|
||||
icon: mdi:sprinkler
|
||||
|
||||
log_precipitation:
|
||||
name: "Log Precipitation"
|
||||
icon: mdi:file
|
||||
|
||||
log_soil_moisture:
|
||||
name: "Log Soil Moisture"
|
||||
icon: mdi:file
|
||||
|
||||
input_datetime:
|
||||
sprinkler_last_reset:
|
||||
name: "Sprinkler: Last Reset"
|
||||
@@ -407,34 +399,6 @@ template:
|
||||
# state: "{{ iif(is_state('binary_sensor.sprinkler_in_season', 'on'), iif(is_state('input_boolean.sprinkler_is_winterized', 'on'), 'on', 'off'), 'off') }}"
|
||||
|
||||
automation:
|
||||
- alias: "Log Precipitation"
|
||||
id: 1f133cd1-7e69-4eb9-ba5f-7fa967dd869d
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: input_boolean.log_precipitation
|
||||
from: "off"
|
||||
to: "on"
|
||||
|
||||
- platform: state
|
||||
entity_id: sensor.rain_gauge_precipitation
|
||||
not_to:
|
||||
- "unknown"
|
||||
- "unavailable"
|
||||
|
||||
- platform: state
|
||||
entity_id: binary_sensor.is_raining
|
||||
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: input_boolean.log_precipitation
|
||||
state: "on"
|
||||
action:
|
||||
- action: notify.send_message
|
||||
target:
|
||||
entity_id: notify.precipitation
|
||||
data:
|
||||
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
|
||||
trigger:
|
||||
|
||||
Reference in New Issue
Block a user