diff --git a/automation/transit.yaml b/automation/transit.yaml index 843e0f0..df2096f 100755 --- a/automation/transit.yaml +++ b/automation/transit.yaml @@ -17,8 +17,6 @@ - service: input_boolean.turn_on entity_id: input_boolean.jeff_heading_home - - ##### Jeff Traffic Alerts - alias: Enable Jeff Bad Traffic Home trigger: @@ -47,4 +45,23 @@ state: 'on' action: - service: input_boolean.turn_off - entity_id: input_boolean.jeff_traffic_alert_home \ No newline at end of file + entity_id: input_boolean.jeff_traffic_alert_home + +- alias: Enable Vacation Mode + trigger: + - platform: numeric_state + entity_id: sensor.jeff_ett_home + above: 180 + - platform: numeric_state + entity_id: sensor.kat_ett_home + above: 180 + condition: + - condition: numeric_state + entity_id: sensor.jeff_ett_home + above: 180 + - condition: numeric_state + entity_id: sensor.kat_ett_home + above: 180 + action: + - service: input_boolean.turn_on + entity_id: input_boolean.vacation_mode