From a97fd0076ab681b4fbc285578ca344221f899c44 Mon Sep 17 00:00:00 2001 From: Simone Chemelli Date: Wed, 27 Oct 2021 15:24:32 +0200 Subject: [PATCH] Add new Fritz service (#20013) Co-authored-by: Franck Nijhof --- source/_integrations/fritz.markdown | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/source/_integrations/fritz.markdown b/source/_integrations/fritz.markdown index d1b52bd39ad..ef937a63923 100644 --- a/source/_integrations/fritz.markdown +++ b/source/_integrations/fritz.markdown @@ -46,6 +46,7 @@ Currently supported services are Platform specific: - `fritz.reconnect` - `fritz.reboot` +- `fritz.cleanup` ### Platform Services @@ -53,8 +54,6 @@ Currently supported services are Platform specific: Reboot the router. - - | Service data attribute | Optional | Description | | ---------------------- | -------- | -------------------------------------------------------------------------------------------------------------- | | `entity_id` | no | Only act on a specific router | @@ -68,6 +67,15 @@ If you have a dynamic IP address, most likely it will change. | ---------------------- | -------- | -------------------------------------------------------------------------------------------------------------- | | `entity_id` | no | Only act on a specific router | +#### Service `fritz.cleanup` + +Remove all stale devices from Home Assistant. +A device is identified as stale when it's still present on Home Assistant but not on the FRITZ!Box. + +| Service data attribute | Optional | Description | +| ---------------------- | -------- | -------------------------------------------------------------------------------------------------------------- | +| `entity_id` | no | Only act on a specific router | + ## Integration Options It is possible to change some behaviors through the integration options.