1
0
ansible-home-assistant/configuration/automations/notify-slow-internet.yaml

24 lines
584 B
YAML
Raw Normal View History

2022-08-13 23:37:41 +00:00
- id: notify-slow-eth0
alias: '[Notify] Slow eth0 link'
mode: single
trigger:
2022-08-13 23:37:41 +00:00
- platform: state
entity_id: sensor.router_eth0_link_speed
to: '100'
action:
- service: notify.mobile_app_iphone_pg
data:
2022-08-13 23:37:41 +00:00
message: Internet link fell down to 100 Mbit
- id: notify-slow-eth4
alias: '[Notify] Slow eth4 link - WiFi'
mode: single
trigger:
- platform: state
entity_id: sensor.router_eth4_link_speed
to: '100'
action:
- service: notify.mobile_app_iphone_pg
data:
message: Wifi link speed fell down to 100 Mbit