mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-10 02:50:12 -04:00
blue_room to boys_room
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
initial_state: 'on'
|
||||
initial_state: "on"
|
||||
id: automation_car_home
|
||||
alias: Car Home
|
||||
trigger:
|
||||
@@ -6,29 +6,29 @@ trigger:
|
||||
entity_id:
|
||||
- binary_sensor.gray_suv_east_side
|
||||
- binary_sensor.gray_suv_west_side
|
||||
to: 'on'
|
||||
to: "on"
|
||||
|
||||
- platform: homeassistant
|
||||
event: start
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: input_boolean.car_home
|
||||
state: 'off'
|
||||
state: "off"
|
||||
- condition: or
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: binary_sensor.gray_suv_east_side
|
||||
state: 'on'
|
||||
- condition: state
|
||||
entity_id: binary_sensor.gray_suv_west_side
|
||||
state: 'on'
|
||||
- condition: state
|
||||
entity_id: binary_sensor.east_side_vehicle_occupancy
|
||||
state: 'on'
|
||||
- condition: state
|
||||
entity_id: binary_sensor.west_side_vehicle_occupancy
|
||||
state: 'on'
|
||||
- condition: state
|
||||
entity_id: binary_sensor.gray_suv_east_side
|
||||
state: "on"
|
||||
- condition: state
|
||||
entity_id: binary_sensor.gray_suv_west_side
|
||||
state: "on"
|
||||
- condition: state
|
||||
entity_id: binary_sensor.east_side_vehicle_occupancy
|
||||
state: "on"
|
||||
- condition: state
|
||||
entity_id: binary_sensor.west_side_vehicle_occupancy
|
||||
state: "on"
|
||||
|
||||
action:
|
||||
- service: input_boolean.turn_on
|
||||
entity_id: input_boolean.car_home
|
||||
- action: input_boolean.turn_on
|
||||
entity_id: input_boolean.car_home
|
||||
|
||||
Reference in New Issue
Block a user