mirror of
https://github.com/thejeffreystone/home-assistant-configuration.git
synced 2025-08-20 20:56:44 +00:00
Adding bad traffic home alerts
This commit is contained in:
@@ -72,6 +72,8 @@
|
||||
action:
|
||||
- service: script.jeff_destination_na
|
||||
- service: script.jeff_at_work_notification
|
||||
- service: input_boolean.turn_off
|
||||
entity_id: input_boolean.jeff_traffic_alert_home
|
||||
|
||||
- alias: Kat Arrives Home Notification
|
||||
trigger:
|
||||
|
@@ -17,3 +17,35 @@
|
||||
- service: input_boolean.turn_on
|
||||
entity_id: input_boolean.jeff_heading_home
|
||||
|
||||
|
||||
|
||||
##### Jeff Traffic Alerts
|
||||
- alias: Enable Jeff Bad Traffic Home
|
||||
trigger:
|
||||
- platform: mumeric-state
|
||||
entity_id: sensor.jeff_ett_home
|
||||
above: 59
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: sensor.jeff_location
|
||||
state: 'Summit'
|
||||
condition:
|
||||
- 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:
|
||||
- platform: mumeric-state
|
||||
entity_id: sensor.jeff_ett_home
|
||||
below: 40
|
||||
condition:
|
||||
- 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
|
Reference in New Issue
Block a user