From d332507f18f6965efcd00c77d08f58e9dd9f4520 Mon Sep 17 00:00:00 2001 From: Simone Chemelli Date: Sun, 23 Mar 2025 12:14:54 +0100 Subject: [PATCH] Add examples to Vodafone Station (#38133) * Add examples to Vodafone Station * apply review comment --- .../_integrations/vodafone_station.markdown | 46 +++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/source/_integrations/vodafone_station.markdown b/source/_integrations/vodafone_station.markdown index 2ba1179dc51..548bca1bfa8 100644 --- a/source/_integrations/vodafone_station.markdown +++ b/source/_integrations/vodafone_station.markdown @@ -63,6 +63,52 @@ There is support for the following platform types within Home Assistant: - **Sensor** - external IP address, uptime, firmware, resources and network monitors. - **Button** - restart router, dsl/fiber/internet key connections. +## Examples + +### Automation: reconnect / get new IP every night + +```yaml +automation: +- alias: "Reconnect Vodafone Station (Fiber)" + triggers: + - trigger: time + at: "05:00:00" + actions: + - action: button.press + target: + entity_id: button.vodafone_station_xxxx_reconnect_fiber +``` + +### Automation: notify connected device not home + +```yaml +automation: +- alias: "Apple TV disconnect" + triggers: + - platform: state + entity_id: device_tracker.appletv + to: "not_home" + actions: + - action: notify.mobile_app_phone + data: + message: "TV lost network connection" +``` + +### Automation: notify router CPU usage too high + +```yaml +automation: +- alias: "Vodafone Station CPU high cpu usage" + triggers: + - platform: numeric_state + entity_id: sensor.vodafone_station_xxxx_cpu_usage + above: 80 + actions: + - action: notify.mobile_app_phone + data: + message: "Router CPU above 80%." +``` + ## Data updates This integration {% term polling polls %} data from the device every 30 seconds by default.