2018-03-06 16:10:52 +00:00
|
|
|
#
|
|
|
|
#
|
|
|
|
# Transit
|
|
|
|
#
|
|
|
|
############
|
|
|
|
|
|
|
|
- alias: Jeff eta home
|
|
|
|
trigger:
|
|
|
|
- platform: state
|
|
|
|
entity_id: sensor.jeff_destination
|
|
|
|
to: Home
|
2018-03-09 16:55:37 +00:00
|
|
|
condition:
|
|
|
|
- condition: state
|
|
|
|
entity_id: input_boolean.text_notify_kat
|
|
|
|
state: 'on'
|
2018-03-06 16:10:52 +00:00
|
|
|
action:
|
|
|
|
- service: input_boolean.turn_on
|
|
|
|
entity_id: input_boolean.jeff_heading_home
|
|
|
|
|
2018-03-09 17:58:46 +00:00
|
|
|
##### Jeff Traffic Alerts
|
|
|
|
- alias: Enable Jeff Bad Traffic Home
|
|
|
|
trigger:
|
2018-03-09 18:09:00 +00:00
|
|
|
- platform: numeric_state
|
2018-03-09 17:58:46 +00:00
|
|
|
entity_id: sensor.jeff_ett_home
|
2018-03-28 20:08:33 +00:00
|
|
|
above: 59
|
2018-03-09 17:58:46 +00:00
|
|
|
condition:
|
|
|
|
- condition: state
|
|
|
|
entity_id: sensor.jeff_location
|
|
|
|
state: 'Summit'
|
|
|
|
- condition: state
|
|
|
|
entity_id: input_boolean.jeff_traffic_alerts
|
|
|
|
state: 'on'
|
|
|
|
action:
|
|
|
|
- service: input_boolean.turn_on
|
|
|
|
entity_id: input_boolean.jeff_traffic_alert_home
|
|
|
|
|
|
|
|
- alias: Disabling Jeff Bad Traffic Home
|
|
|
|
trigger:
|
2018-03-09 18:09:00 +00:00
|
|
|
- platform: numeric_state
|
2018-03-09 17:58:46 +00:00
|
|
|
entity_id: sensor.jeff_ett_home
|
|
|
|
below: 40
|
2018-03-09 18:05:18 +00:00
|
|
|
condition:
|
2018-03-09 17:58:46 +00:00
|
|
|
- condition: state
|
|
|
|
entity_id: input_boolean.jeff_traffic_alert_home
|
|
|
|
state: 'on'
|
|
|
|
action:
|
|
|
|
- service: input_boolean.turn_off
|
2018-03-28 01:03:37 +00:00
|
|
|
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
|