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

24 lines
574 B
YAML
Raw Permalink Normal View History

- 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-10-19 20:25:52 +00:00
- service: notify.mobile_app_iphone
data:
2022-08-13 23:37:41 +00:00
message: Internet link fell down to 100 Mbit
- 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-10-19 20:25:52 +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