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:
@@ -9,7 +9,7 @@ trigger:
|
||||
entity_id: input_select.master_bedroom_mode
|
||||
|
||||
- platform: state
|
||||
entity_id: input_boolean.master_bedroom_occupied
|
||||
entity_id: input_boolean.bedroom_occupied
|
||||
to: "off"
|
||||
|
||||
- platform: state
|
||||
@@ -48,7 +48,7 @@ condition:
|
||||
entity_id: input_select.master_bedroom_mode
|
||||
state: "Off"
|
||||
- condition: state
|
||||
entity_id: input_boolean.master_bedroom_occupied
|
||||
entity_id: input_boolean.bedroom_occupied
|
||||
state: "off"
|
||||
- condition: state
|
||||
entity_id: input_select.master_bedroom_mode
|
||||
@@ -66,7 +66,7 @@ action:
|
||||
entity_id: input_select.master_bedroom_mode
|
||||
state: "Off"
|
||||
- condition: state
|
||||
entity_id: input_boolean.master_bedroom_occupied
|
||||
entity_id: input_boolean.bedroom_occupied
|
||||
state: "off"
|
||||
- condition: not
|
||||
conditions:
|
||||
|
||||
@@ -18,17 +18,17 @@ trigger:
|
||||
to: "off"
|
||||
|
||||
- platform: state
|
||||
entity_id: input_boolean.master_bedroom_occupied
|
||||
entity_id: input_boolean.bedroom_occupied
|
||||
to: "on"
|
||||
|
||||
- platform: state
|
||||
id: occupied
|
||||
entity_id: binary_sensor.master_bedroom_occupied
|
||||
entity_id: binary_sensor.bedroom_occupied
|
||||
to: "on"
|
||||
|
||||
# - platform: state
|
||||
# id: motion
|
||||
# entity_id: group.master_bedroom_motion
|
||||
# entity_id: binary_sensor.master_bedroom_motion
|
||||
# to: "on"
|
||||
|
||||
condition:
|
||||
@@ -73,7 +73,7 @@ condition:
|
||||
- condition: trigger
|
||||
id: "mode_change"
|
||||
- condition: state
|
||||
entity_id: input_boolean.master_bedroom_occupied
|
||||
entity_id: input_boolean.bedroom_occupied
|
||||
state: "on"
|
||||
|
||||
variables:
|
||||
|
||||
@@ -10,7 +10,7 @@ trigger:
|
||||
- platform: state
|
||||
entity_id:
|
||||
- input_boolean.home_occupied
|
||||
- binary_sensor.master_bedroom_occupied
|
||||
- binary_sensor.bedroom_occupied
|
||||
to: "off"
|
||||
for: "00:05:00"
|
||||
|
||||
@@ -29,7 +29,7 @@ condition:
|
||||
- "unavailable"
|
||||
|
||||
- condition: state
|
||||
entity_id: input_boolean.master_bedroom_occupied
|
||||
entity_id: input_boolean.bedroom_occupied
|
||||
state: "on"
|
||||
|
||||
- condition: or
|
||||
@@ -45,7 +45,7 @@ condition:
|
||||
for:
|
||||
minutes: 5
|
||||
- condition: state
|
||||
entity_id: binary_sensor.master_bedroom_occupied
|
||||
entity_id: binary_sensor.bedroom_occupied
|
||||
state: "off"
|
||||
for:
|
||||
minutes: 5
|
||||
@@ -57,7 +57,7 @@ action:
|
||||
state: "off"
|
||||
sequence:
|
||||
- action: homeassistant.turn_off
|
||||
entity_id: input_boolean.master_bedroom_occupied
|
||||
entity_id: input_boolean.bedroom_occupied
|
||||
- conditions:
|
||||
- condition: not
|
||||
conditions:
|
||||
@@ -66,4 +66,4 @@ action:
|
||||
state: "Manual"
|
||||
sequence:
|
||||
- action: homeassistant.turn_off
|
||||
entity_id: input_boolean.master_bedroom_occupied
|
||||
entity_id: input_boolean.bedroom_occupied
|
||||
|
||||
@@ -5,14 +5,14 @@ mode: restart
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id:
|
||||
- binary_sensor.master_bedroom_occupied
|
||||
- binary_sensor.bedroom_occupied
|
||||
to: "on"
|
||||
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: input_boolean.master_bedroom_occupied
|
||||
entity_id: input_boolean.bedroom_occupied
|
||||
state: "off"
|
||||
|
||||
action:
|
||||
- action: input_boolean.turn_on
|
||||
entity_id: input_boolean.master_bedroom_occupied
|
||||
entity_id: input_boolean.bedroom_occupied
|
||||
|
||||
Reference in New Issue
Block a user