mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-10 02:50:12 -04:00
more small fixes and consolidating the driveway
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# name: "HVAC Delta Sensors Unavailable"
|
||||
# done_message: "HVAC delta sensors available"
|
||||
# entity_id: binary_sensor.hvac_delta_sensors_unavailable
|
||||
# entity_id: binary_sensor.hvac_multisensor_delta_sensors_unavailable
|
||||
# state: 'on'
|
||||
# repeat:
|
||||
# - 15
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# name: "The AC is probably broken again!"
|
||||
# message: "It is {{states('sensor.front_porch_temperature')}} outside and {{state_attr('climate.thermostat','current_temperature')}} inside. The thermostat is set to {{state_attr('climate.thermostat','target_temp_low')}} and the delta is {{states('sensor.hvac_delta')}}"
|
||||
# done_message: "AC is now {{states('sensor.hvac_delta')}}"
|
||||
# entity_id: binary_sensor.hvac_delta_too_small_for_too_long
|
||||
# message: "It is {{states('sensor.front_porch_temperature')}} outside and {{state_attr('climate.thermostat','current_temperature')}} inside. The thermostat is set to {{state_attr('climate.thermostat','target_temp_low')}} and the delta is {{states('sensor.hvac_multisensor_delta')}}"
|
||||
# done_message: "AC is now {{states('sensor.hvac_multisensor_delta')}}"
|
||||
# entity_id: binary_sensor.hvac_multisensor_delta_too_small_for_too_long
|
||||
# state: "on"
|
||||
# repeat:
|
||||
# - 1
|
||||
|
||||
@@ -299,9 +299,9 @@ sensors:
|
||||
{% if is_state('binary_sensor.hvac_delta_sensors_unavailable','on') %}
|
||||
{{'false'}}
|
||||
{% else %}
|
||||
{% if is_state_attr('climate.thermostat', 'hvac_action', 'cooling') and states('sensor.hvac_delta') | int(default=0) >= -5 %}
|
||||
{% if is_state_attr('climate.thermostat', 'hvac_action', 'cooling') and states('sensor.hvac_multisensor_delta') | int(default=0) >= -5 %}
|
||||
{{'true'}}
|
||||
{% elif is_state_attr('climate.thermostat', 'hvac_action', 'heating') and states('sensor.hvac_delta') | int(default=0) <= 5 %}
|
||||
{% elif is_state_attr('climate.thermostat', 'hvac_action', 'heating') and states('sensor.hvac_multisensor_delta') | int(default=0) <= 5 %}
|
||||
{{'true'}}
|
||||
{% else %}
|
||||
{{'false'}}
|
||||
@@ -329,15 +329,15 @@ sensors:
|
||||
unique_id: templatebinarysensor.hvac_delta_temperature_good
|
||||
friendly_name: HVAC Delta Temperature Good
|
||||
value_template: >-
|
||||
{% if states("sensor.hvac_temperature") | string != "unknown" and states("sensor.return_temperature") | string != "unknown" %}
|
||||
{% if states("sensor.hvac_multisensor_supply") | string != "unknown" and states("sensor.hvac_multisensor_return") | string != "unknown" %}
|
||||
{% if states('sensor.hvac_action') | string == 'cooling' and as_timestamp(now())-(as_timestamp(states.sensor.hvac_action.last_changed))|round(1) > 300 %}
|
||||
{% if states('sensor.hvac_delta') | float(default=0) < -10 %}
|
||||
{% if states('sensor.hvac_multisensor_delta') | float(default=0) < -10 %}
|
||||
{{ 'true' }}
|
||||
{% else %}
|
||||
{{ 'false' }}
|
||||
{% endif %}
|
||||
{% elif states('sensor.hvac_action') | string == 'heating' and as_timestamp(now())-(as_timestamp(states.sensor.hvac_action.last_changed))|round(1) > 300 %}
|
||||
{% if states('sensor.hvac_delta') | float(default=0) > 10 %}
|
||||
{% if states('sensor.hvac_multisensor_delta') | float(default=0) > 10 %}
|
||||
{{ 'true' }}
|
||||
{% else %}
|
||||
{{ 'false' }}
|
||||
@@ -352,7 +352,7 @@ sensors:
|
||||
delay_on:
|
||||
minutes: 5
|
||||
value_template: >-
|
||||
{% if states("sensor.hvac_temperature") | string == 'unknown' or states("sensor.return_temperature") | string == 'unknown' or states("sensor.hvac_temperature") | string == 'unavailable' or states("sensor.return_temperature") | string == 'unavailable' %}
|
||||
{% if states("sensor.hvac_multisensor_supply") | string == 'unknown' or states("sensor.hvac_multisensor_return") | string == 'unknown' or states("sensor.hvac_multisensor_supply") | string == 'unavailable' or states("sensor.hvac_multisensor_return") | string == 'unavailable' %}
|
||||
{{ 'true' }}
|
||||
{% else %}
|
||||
{{ 'false' }}
|
||||
@@ -707,7 +707,7 @@ sensors:
|
||||
need_salt:
|
||||
unique_id: templatebinarysensor.need_salt
|
||||
friendly_name: Need Salt
|
||||
value_template: "{{ is_state('binary_sensor.furnace_room_multisensor_status', 'on') and is_state('sensor.salt_level_in_bags','0') }}"
|
||||
value_template: "{{ is_state('binary_sensor.hvac_multisensor_status', 'on') and is_state('sensor.hvac_multisensor_salt_level_in_bags','0') }}"
|
||||
icon_template: mdi:shaker-outline
|
||||
delay_on:
|
||||
seconds: 900
|
||||
|
||||
@@ -191,7 +191,7 @@ logbook:
|
||||
- sensor.time
|
||||
- sensor.time_date
|
||||
- sensor.time_utc
|
||||
- sensor.hvac_delta
|
||||
- sensor.hvac_multisensor_delta
|
||||
- sensor.master_bed_person_count
|
||||
- automation.cam14_ptz_move
|
||||
- automation.cycle_back_yard_camera
|
||||
|
||||
@@ -70,7 +70,7 @@ sensor:
|
||||
- sensor.mancave_thermostat_temperature
|
||||
- sensor.blue_room_thermostat_temperature
|
||||
- sensor.great_room_multisensor_air_temperature
|
||||
- sensor.furnace_room_temperature
|
||||
- sensor.furnace_room_thermostat_temperature
|
||||
|
||||
- platform: min_max
|
||||
name: Downstairs Min Temperature
|
||||
|
||||
Reference in New Issue
Block a user