From dfbf3505c476784eb9e26402f6d011cf0e64569b Mon Sep 17 00:00:00 2001 From: Robert Svensson Date: Wed, 30 Sep 2020 22:05:09 +0200 Subject: [PATCH] Add deconz.remove_orphaned_entries service description (#14665) --- source/_integrations/deconz.markdown | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/source/_integrations/deconz.markdown b/source/_integrations/deconz.markdown index 4ea7855ca5f..f2942beb1a3 100644 --- a/source/_integrations/deconz.markdown +++ b/source/_integrations/deconz.markdown @@ -67,7 +67,7 @@ If you are having issues and want to report a problem, always start with making ## Device services -Available services: `configure` and `deconz.device_refresh`. +Available services: `configure`, `deconz.device_refresh` and `deconz.remove_orphaned_entries`. ### Service `deconz.configure` @@ -103,6 +103,12 @@ Refresh with devices added to deCONZ after Home Assistants latest restart. Note: deCONZ automatically signals Home Assistant when new sensors are added, but other devices must at this point in time (deCONZ v2.05.35) be added manually using this service or a restart of Home Assistant. +#### Service `deconz.remove_orphaned_entries` + +Remove entries from entity and device registry which are no longer provided by deCONZ. + +Note: it is recommended to use this service after a restart of Home Assistant Core in order to have deCONZ integration properly mirrored to deCONZ. + ## Remote control devices Remote controls (ZHASwitch category) will not be exposed as regular entities, but as events named `deconz_event` with a payload of `id` and `event`. Id will be the device name from deCONZ and Event will be the momentary state of the switch.