mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 18:40:14 -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:
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
# keep_days: 180
|
||||
|
||||
recorder:
|
||||
purge_keep_days: 7
|
||||
purge_keep_days: 14
|
||||
auto_purge: true
|
||||
db_url: !secret recorder_url
|
||||
#db_url: !secret recorder_url_nas
|
||||
@@ -108,10 +108,7 @@ recorder:
|
||||
- scene
|
||||
- button
|
||||
- remote
|
||||
- automation
|
||||
- script
|
||||
- media_player
|
||||
- device_tracker
|
||||
|
||||
# include:
|
||||
# domains:
|
||||
|
||||
@@ -24,11 +24,15 @@ logger:
|
||||
#homeassistant.components.python_script: warning
|
||||
|
||||
# log level for the device_tracker component
|
||||
homeassistant.components.device_tracker: warning
|
||||
homeassistant.components.device_tracker: debug
|
||||
|
||||
# homeassistant.components.rest_command: debug
|
||||
|
||||
homeassistant.components.http.ban: warning
|
||||
homeassistant.components.http.ban: debug
|
||||
|
||||
homeassistant.components.mobile_app: debug
|
||||
|
||||
homeassistant.components.mobile_app.entity: warning
|
||||
|
||||
#homeassistant.components.http: debug
|
||||
|
||||
@@ -58,4 +62,6 @@ logger:
|
||||
# custom_components.grocy:
|
||||
# - ".*last_used.*"
|
||||
homeassistant.components.roku.coordinator:
|
||||
- ".*Timeout occurred.*"
|
||||
- ".*Timeout occurred.*"
|
||||
homeassistant.components.mobile_app.webhook:
|
||||
- "update_sensor_states"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
device_tracker:
|
||||
- platform: synology_srm
|
||||
host: 192.168.1.1
|
||||
username: !secret router_username
|
||||
password: !secret router_password
|
||||
new_device_defaults:
|
||||
track_new_devices: true
|
||||
# device_tracker:
|
||||
# - platform: synology_srm
|
||||
# host: 192.168.1.1
|
||||
# username: !secret router_username
|
||||
# password: !secret router_password
|
||||
# new_device_defaults:
|
||||
# track_new_devices: true
|
||||
@@ -2,5 +2,5 @@ zone:
|
||||
name: Home
|
||||
latitude: !secret home_lat
|
||||
longitude: !secret home_long
|
||||
radius: 40
|
||||
radius: 80
|
||||
icon: mdi:account-multiple
|
||||
Reference in New Issue
Block a user