mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 18:40:14 -04:00
so many freaking changes!
This commit is contained in:
@@ -30,12 +30,6 @@ observations:
|
||||
prob_given_false: 0.01
|
||||
to_state: 'on'
|
||||
|
||||
# - platform: template
|
||||
# value_template: >
|
||||
# {{ states('sensor.master_bathroom_thermostat_humidity') | float(default=0) - states('sensor.master_bedroom_multisensor_humidity') | float(default=0) > 30 }}
|
||||
# prob_given_true: 0.99
|
||||
# prob_given_false: 0.01
|
||||
|
||||
# - entity_id: input_boolean.home_occupied
|
||||
# platform: state
|
||||
# prob_given_true: .01
|
||||
|
||||
@@ -136,18 +136,17 @@ sensors:
|
||||
friendly_name: Bathroom Getting Humid
|
||||
delay_off:
|
||||
minutes: 5
|
||||
#value_template: "{{ is_state('binary_sensor.trend_bathroom_humidity','on') or states('sensor.master_bathroom_thermostat_humidity') | int(default=0) - states('sensor.master_bedroom_multisensor_humidity') | int(default=100) > 5}}"
|
||||
value_template: "{{ states('sensor.master_bathroom_thermostat_humidity') | float(default=0) - states('sensor.upstairs_mean_humidity') | float(default=100) > 10 }}"
|
||||
value_template: "{{ states('sensor.bathroom_multisensor_relative_humidity') | float(default=0) - states('sensor.upstairs_mean_humidity') | float(default=100) > 10 }}"
|
||||
icon_template: >
|
||||
{% if states('sensor.master_bathroom_thermostat_humidity') | float(default=0) - states('sensor.upstairs_mean_humidity') | float(default=100) > 10 %}
|
||||
{% if states('sensor.bathroom_multisensor_relative_humidity') | float(default=0) - states('sensor.upstairs_mean_humidity') | float(default=100) > 10 %}
|
||||
mdi:water-percent
|
||||
{% else %}
|
||||
mdi:water-off
|
||||
{% endif %}
|
||||
attribute_templates:
|
||||
room_humidity: "{{ states('sensor.master_bathroom_thermostat_humidity') | float(default=0) }}"
|
||||
room_humidity: "{{ states('sensor.bathroom_multisensor_relative_humidity') | float(default=0) }}"
|
||||
mean_humidity: "{{ states('sensor.upstairs_mean_humidity') | float(default=0) }}"
|
||||
difference: "{{ states('sensor.master_bathroom_thermostat_humidity') | float(default=0) - states('sensor.upstairs_mean_humidity') | float(default=0) }}"
|
||||
difference: "{{ states('sensor.bathroom_multisensor_relative_humidity') | float(default=0) - states('sensor.upstairs_mean_humidity') | float(default=0) }}"
|
||||
|
||||
utility_room_getting_humid:
|
||||
unique_id: templatebinarysensor.utility_room_getting_humid
|
||||
@@ -584,7 +583,7 @@ sensors:
|
||||
mancave_light_left_on:
|
||||
unique_id: templatebinarysensor.mancave_light_left_on
|
||||
friendly_name: Mancave Light Left On
|
||||
value_template: "{{ is_state('light.mancave','on') }}"
|
||||
value_template: "{{ is_state('light.mancave','on') and is_state('input_boolean.mancave_occupied','off') }}"
|
||||
delay_on:
|
||||
seconds: 30
|
||||
|
||||
@@ -687,7 +686,7 @@ sensors:
|
||||
need_salt:
|
||||
unique_id: templatebinarysensor.need_salt
|
||||
friendly_name: Need Salt
|
||||
value_template: "{{ is_state('binary_sensor.water_softener_multisensor_status', 'on') and is_state('sensor.water_softener_multisensor_salt_level_in_bags','0') }}"
|
||||
value_template: "{{ is_state('binary_sensor.furnace_room_multisensor_status', 'on') and is_state('sensor.furnace_room_multisensor_salt_level_in_bags','1') }}"
|
||||
icon_template: mdi:shaker-outline
|
||||
delay_on:
|
||||
seconds: 900
|
||||
|
||||
@@ -82,25 +82,25 @@ script:
|
||||
# {% endif %}
|
||||
# url: >
|
||||
# {% if is_state('input_select.camera_dropdown', 'Boys Room') %}
|
||||
# rtsp://192.168.1.11:8554/rtsp_cam01_sub
|
||||
# rtsp://192.168.1.11:8554/cam01_sub_opus
|
||||
# {% elif is_state('input_select.camera_dropdown', 'Kitchen') %}
|
||||
# rtsp://192.168.1.11:8554/rtsp_cam12_sub
|
||||
# rtsp://192.168.1.11:8554/cam12_sub_opus
|
||||
# {% elif is_state('input_select.camera_dropdown', 'Computer Area') %}
|
||||
# rtsp://192.168.1.11:8554/rtsp_cam03_sub
|
||||
# rtsp://192.168.1.11:8554/cam03_sub_opus
|
||||
# {% elif is_state('input_select.camera_dropdown', 'Garage') %}
|
||||
# rtsp://192.168.1.11:8554/rtsp_cam04_sub
|
||||
# rtsp://192.168.1.11:8554/cam04_sub_opus
|
||||
# {% elif is_state('input_select.camera_dropdown', 'Master Bedroom') %}
|
||||
# rtsp://192.168.1.11:8554/rtsp_cam06_sub
|
||||
# rtsp://192.168.1.11:8554/cam06_sub_opus
|
||||
# {% elif is_state('input_select.camera_dropdown', 'Nursery') %}
|
||||
# rtsp://192.168.1.11:8554/rtsp_cam08_sub
|
||||
# rtsp://192.168.1.11:8554/cam08_sub_opus
|
||||
# {% elif is_state('input_select.camera_dropdown', 'Back Yard') %}
|
||||
# rtsp://192.168.1.11:8554/rtsp_cam14_sub
|
||||
# rtsp://192.168.1.11:8554/cam14_sub_opus
|
||||
# {% elif is_state('input_select.camera_dropdown', 'Front Yard') %}
|
||||
# rtsp://192.168.1.11:8554/rtsp_cam18_sub
|
||||
# rtsp://192.168.1.11:8554/cam18_sub_opus
|
||||
# {% elif is_state('input_select.camera_dropdown', 'Front Door') %}
|
||||
# rtsp://192.168.1.11:8554/rtsp_cam19_sub
|
||||
# rtsp://192.168.1.11:8554/cam19_sub_opus
|
||||
# {% elif is_state('input_select.camera_dropdown', 'Front Room') %}
|
||||
# rtsp://192.168.1.11:8554/rtsp_cam13_sub
|
||||
# rtsp://192.168.1.11:8554/cam13_sub_opus
|
||||
# {% endif %}
|
||||
# force: true
|
||||
# extra:
|
||||
|
||||
@@ -48,4 +48,11 @@ template:
|
||||
state: "{{ states.update | selectattr('state', 'eq', 'on') | map(attribute='entity_id') | select ('in',integration_entities('esphome')) | list | count }}"
|
||||
icon: mdi:chip
|
||||
attributes:
|
||||
devices: "{{ states.update | selectattr('state', 'eq', 'on') | map(attribute='entity_id') | select ('in',integration_entities('esphome')) | list }}"
|
||||
devices: "{{ states.update | selectattr('state', 'eq', 'on') | map(attribute='entity_id') | select ('in',integration_entities('esphome')) | list }}"
|
||||
|
||||
- name: ESPHome Offline Devices
|
||||
unique_id: c17e967e-e3ff-42dd-a85c-a5c1d1e9ae63
|
||||
state: "{{ integration_entities('esphome') | select('search', 'status') | select('is_state', 'off') | list | count }}"
|
||||
icon: mdi:chip
|
||||
attributes:
|
||||
devices: "{{ integration_entities('esphome') | select('search', 'status') | select('is_state', 'off') | list }}"
|
||||
Reference in New Issue
Block a user