mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 18:40:14 -04:00
various updates and fixes
This commit is contained in:
@@ -30,8 +30,8 @@ observations:
|
||||
prob_given_false: 0.01
|
||||
to_state: 'off'
|
||||
|
||||
- entity_id: binary_sensor.front_room_person_occupancy
|
||||
prob_given_true: .99
|
||||
prob_given_false: 0.01
|
||||
platform: state
|
||||
to_state: 'on'
|
||||
# - entity_id: binary_sensor.front_room_person_occupancy
|
||||
# prob_given_true: .99
|
||||
# prob_given_false: 0.01
|
||||
# platform: state
|
||||
# to_state: 'on'
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
name: MindsDB Responses
|
||||
platform: file
|
||||
filename: /config/custom_logs/mindsdb_responses.log
|
||||
# name: MindsDB Responses
|
||||
# platform: file
|
||||
# filename: /config/custom_logs/mindsdb_responses.log
|
||||
@@ -1,4 +1,4 @@
|
||||
name: Precipitation
|
||||
platform: file
|
||||
filename: /config/custom_logs/precipitation.csv
|
||||
timestamp: false
|
||||
# name: Precipitation
|
||||
# platform: file
|
||||
# filename: /config/custom_logs/precipitation.csv
|
||||
# timestamp: false
|
||||
@@ -1,4 +1,4 @@
|
||||
name: Soil Moisture
|
||||
platform: file
|
||||
filename: /config/custom_logs/soil_moisture.csv
|
||||
timestamp: false
|
||||
# name: Soil Moisture
|
||||
# platform: file
|
||||
# filename: /config/custom_logs/soil_moisture.csv
|
||||
# timestamp: false
|
||||
@@ -438,7 +438,9 @@ automation:
|
||||
entity_id: input_boolean.log_precipitation
|
||||
state: "on"
|
||||
action:
|
||||
- service: notify.precipitation
|
||||
- service: notify.send_message
|
||||
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')}}"
|
||||
|
||||
@@ -474,7 +476,9 @@ automation:
|
||||
entity_id: input_boolean.log_soil_moisture
|
||||
state: "on"
|
||||
action:
|
||||
- service: notify.soil_moisture
|
||||
- service: notify.send_message
|
||||
target:
|
||||
entity_id: notify.soil_moisture
|
||||
data:
|
||||
message: "{{now().strftime('%Y-%m-%d')}}T{{now().strftime('%H:%M:%S.%f')}},{{states('sensor.fineoffset_wh51_00f935_moisture')}},{{states('sensor.fineoffset_wh51_0ce593_moisture')}},{{states('sensor.fineoffset_wh51_0d1e11_moisture')}}"
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
counter:
|
||||
system_health:
|
||||
media_extractor:
|
||||
#media_extractor:
|
||||
media_source:
|
||||
mobile_app:
|
||||
my:
|
||||
|
||||
@@ -8,7 +8,9 @@ automation:
|
||||
attribute: response_text
|
||||
condition: []
|
||||
action:
|
||||
- service: notify.mindsdb_responses
|
||||
- service: notify.send_message
|
||||
target:
|
||||
entity_id: notify.mindsdb_responses
|
||||
data:
|
||||
message: >
|
||||
"input":"{{ states('input_text.gpt_prompt') }}","output":"{{ state_attr('sensor.hassio_mindsdb_response','response_text')}}"
|
||||
|
||||
Reference in New Issue
Block a user