mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 18:40:14 -04:00
Will pushing from the server break anything?
This commit is contained in:
@@ -212,9 +212,9 @@ template:
|
||||
minutes: 5
|
||||
state: >-
|
||||
{% if is_state('binary_sensor.patio_door_contact', 'on') or is_state('group.my_exterior_windows', 'on') or is_state('binary_sensor.front_door_contact', 'on') %}
|
||||
{% if is_state_attr('climate.thermostat', 'hvac_action', 'cooling') and states('sensor.master_bedroom_multisensor_air_temperature') | int < states('sensor.front_porch_temperature') | int %}
|
||||
{% if is_state_attr('climate.thermostat', 'hvac_action', 'cooling') and states('sensor.master_bedroom_multisensor_air_temperature') | int < states('sensor.front_porch_hue_motion_sensor_temperature') | int %}
|
||||
{{'true'}}
|
||||
{% elif is_state_attr('climate.thermostat', 'hvac_action', 'heating') and states('sensor.master_bedroom_multisensor_air_temperature') | int > states('sensor.front_porch_temperature') | int %}
|
||||
{% elif is_state_attr('climate.thermostat', 'hvac_action', 'heating') and states('sensor.master_bedroom_multisensor_air_temperature') | int > states('sensor.front_porch_hue_motion_sensor_temperature') | int %}
|
||||
{{'true'}}
|
||||
{% else %}
|
||||
{{'false'}}
|
||||
@@ -297,7 +297,7 @@ template:
|
||||
default_entity_id: binary_sensor.temp_just_right
|
||||
name: Temp Just Right
|
||||
state: >-
|
||||
{% if states('sensor.front_porch_temperature') | float(default=0) > 50 and states('sensor.front_porch_temperature') | float(default=0) < 90 %}
|
||||
{% if states('sensor.front_porch_hue_motion_sensor_temperature') | float(default=0) > 50 and states('sensor.front_porch_hue_motion_sensor_temperature') | float(default=0) < 90 %}
|
||||
{{'true'}}
|
||||
{% else %}
|
||||
{{ 'false' }}
|
||||
@@ -306,17 +306,17 @@ template:
|
||||
- unique_id: templatebinarysensor.is_dark
|
||||
default_entity_id: binary_sensor.is_dark
|
||||
name: Is Dark
|
||||
state: "{{ (states('sensor.front_porch_light_level') | int(0) < states('input_number.is_dark') | int(0)) or (states('sensor.front_porch_light_level') | int(0) < 30 and is_state('light.front_porch_overhead','on')) }}"
|
||||
state: "{{ (states('sensor.front_porch_hue_motion_sensor_illuminance') | int(0) < states('input_number.is_dark') | int(0)) or (states('sensor.front_porch_hue_motion_sensor_illuminance') | int(0) < 30 and is_state('light.front_porch_overhead','on')) }}"
|
||||
|
||||
- unique_id: templatebinarysensor.is_dim
|
||||
default_entity_id: binary_sensor.is_dim
|
||||
name: Is Dim
|
||||
state: "{{ states('sensor.front_porch_light_level') | int(0) >= states('input_number.is_dark') | int(0) and states('sensor.front_porch_light_level') | int(0) < states('input_number.is_daylight') | int(0) }}"
|
||||
state: "{{ states('sensor.front_porch_hue_motion_sensor_illuminance') | int(0) >= states('input_number.is_dark') | int(0) and states('sensor.front_porch_hue_motion_sensor_illuminance') | int(0) < states('input_number.is_daylight') | int(0) }}"
|
||||
|
||||
- unique_id: templatebinarysensor.is_daylight
|
||||
default_entity_id: binary_sensor.is_daylight
|
||||
name: Is Daylight
|
||||
state: "{{ states('sensor.front_porch_light_level') | int(0) >= states('input_number.is_daylight') | int(0) }}"
|
||||
state: "{{ states('sensor.front_porch_hue_motion_sensor_illuminance') | int(0) >= states('input_number.is_daylight') | int(0) }}"
|
||||
|
||||
- unique_id: templatebinarysensor.garage_open_nobody_home
|
||||
default_entity_id: binary_sensor.garage_open_nobody_home
|
||||
@@ -515,7 +515,7 @@ template:
|
||||
- unique_id: templatebinarysensor.dining_room_light_left_on
|
||||
default_entity_id: binary_sensor.dining_room_light_left_on
|
||||
name: Dining Room Light Left On
|
||||
state: "{{ is_state('light.dining_room_switch','on') and is_state('input_boolean.dining_room_occupied','off') }}"
|
||||
state: "{{ is_state('light.dining_room','on') and is_state('input_boolean.dining_room_occupied','off') }}"
|
||||
delay_on:
|
||||
seconds: 30
|
||||
|
||||
@@ -557,14 +557,14 @@ template:
|
||||
- unique_id: templatebinarysensor.master_bathroom_light_left_on
|
||||
default_entity_id: binary_sensor.master_bathroom_light_left_on
|
||||
name: Master Bathroom Light Left On
|
||||
state: "{{ is_state('light.master_bathroom_hue','on') and is_state('input_boolean.master_bathroom_occupied','off') }}"
|
||||
state: "{{ is_state('light.master_bathroom_hue','on') and is_state('input_boolean.bathroom_occupied','off') }}"
|
||||
delay_on:
|
||||
seconds: 30
|
||||
|
||||
- unique_id: templatebinarysensor.master_bedroom_light_left_on
|
||||
default_entity_id: binary_sensor.master_bedroom_light_left_on
|
||||
name: Master Bedroom Light Left On
|
||||
state: "{{ is_state('light.master_bedroom_hue','on') and is_state('input_boolean.master_bedroom_occupied','off') }}"
|
||||
state: "{{ is_state('light.master_bedroom_hue','on') and is_state('input_boolean.bedroom_occupied','off') }}"
|
||||
delay_on:
|
||||
seconds: 30
|
||||
|
||||
|
||||
Reference in New Issue
Block a user