2018-03-06 11:10:52 -05:00
|
|
|
#
|
|
|
|
#
|
|
|
|
# Transit
|
|
|
|
#
|
|
|
|
############
|
|
|
|
|
|
|
|
- alias: Jeff eta home
|
|
|
|
trigger:
|
|
|
|
- platform: state
|
|
|
|
entity_id: sensor.jeff_destination
|
|
|
|
to: Home
|
2018-03-09 11:55:37 -05:00
|
|
|
condition:
|
|
|
|
- condition: state
|
|
|
|
entity_id: input_boolean.text_notify_kat
|
|
|
|
state: 'on'
|
2018-03-06 11:10:52 -05:00
|
|
|
action:
|
|
|
|
- service: input_boolean.turn_on
|
|
|
|
entity_id: input_boolean.jeff_heading_home
|
|
|
|
|
2018-03-09 12:58:46 -05:00
|
|
|
|
|
|
|
|
|
|
|
##### Jeff Traffic Alerts
|
|
|
|
- alias: Enable Jeff Bad Traffic Home
|
|
|
|
trigger:
|
2018-03-09 13:07:48 -05:00
|
|
|
- platform: mumeric_state
|
2018-03-09 12:58:46 -05:00
|
|
|
entity_id: sensor.jeff_ett_home
|
|
|
|
above: 59
|
|
|
|
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 13:07:48 -05:00
|
|
|
- platform: mumeric_state
|
2018-03-09 12:58:46 -05:00
|
|
|
entity_id: sensor.jeff_ett_home
|
|
|
|
below: 40
|
2018-03-09 13:05:18 -05:00
|
|
|
condition:
|
2018-03-09 12:58:46 -05:00
|
|
|
- condition: state
|
|
|
|
entity_id: input_boolean.jeff_traffic_alert_home
|
|
|
|
state: 'on'
|
|
|
|
action:
|
|
|
|
- service: input_boolean.turn_off
|
|
|
|
entity_id: input_boolean.jeff_traffic_alert_home
|