1
0
ansible-home-assistant/configuration/automations/info-slow-link.yaml

24 lines
574 B
YAML
Raw Normal View History

2022-08-18 23:02:16 +00:00
- id: info-slow-eth0
2022-08-13 23:37:41 +00:00
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:
2022-09-17 16:12:58 +00:00
- service: notify.mobile_app_iphone
data:
2022-08-13 23:37:41 +00:00
message: Internet link fell down to 100 Mbit
2022-08-18 23:02:16 +00:00
- id: info-slow-eth4
2022-08-13 23:37:41 +00:00
alias: '[Notify] Slow eth4 link - WiFi'
mode: single
trigger:
- platform: state
entity_id: sensor.router_eth4_link_speed
to: '100'
action:
2022-09-17 16:12:58 +00:00
- service: notify.mobile_app_iphone
2022-08-13 23:37:41 +00:00
data:
message: Wifi link speed fell down to 100 Mbit