From 7f944fbc877b05e5457c43c4209eaea12e91442b Mon Sep 17 00:00:00 2001 From: Robert Svensson Date: Fri, 26 Mar 2021 20:46:27 +0100 Subject: [PATCH 01/12] Follow the new improved services --- homeassistant/components/deconz/services.yaml | 55 ++++++++++++++++--- 1 file changed, 47 insertions(+), 8 deletions(-) diff --git a/homeassistant/components/deconz/services.yaml b/homeassistant/components/deconz/services.yaml index 1703037fc64c5..cacd86bd72533 100644 --- a/homeassistant/components/deconz/services.yaml +++ b/homeassistant/components/deconz/services.yaml @@ -1,32 +1,71 @@ configure: - description: Set attribute of device in deCONZ. See https://home-assistant.io/integrations/deconz/#device-services for details. + name: Configure + description: >- + Configure attributes of either a device endpoint in deCONZ + or the deCONZ service itself. fields: entity: - description: Entity id representing a specific device in deCONZ. + name: Entity + required: false + description: Represents a specific device endpoint in deCONZ. example: "light.rgb_light" + selector: + entity: + integration: deconz field: + name: Path + required: false + selector: + text: description: >- - Field is a string representing a full path to deCONZ endpoint (when + String representing a full path to deCONZ endpoint (when entity is not specified) or a subpath of the device path for the entity (when entity is specified). example: '"/lights/1/state" or "/state"' data: - description: Data is a JSON object with what data you want to alter. + name: Configuration payload + required: true + selector: + text: + description: JSON object with what data you want to alter. example: '{"on": true}' bridgeid: - description: (Optional) Bridgeid is a string unique for each deCONZ hardware. It can be found as part of the integration name. + name: Bridge identifier + required: false + selector: + text: + description: >- + (Optional) Unique string for each deCONZ hardware. + It can be found as part of the integration name. + Useful if you run multiple deCONZ integrations. example: "00212EFFFF012345" device_refresh: - description: Refresh device lists from deCONZ. + name: Device refresh + description: Refresh available devices from deCONZ. fields: bridgeid: - description: (Optional) Bridgeid is a string unique for each deCONZ hardware. It can be found as part of the integration name. + name: Bridge identifier + required: false + selector: + text: + description: >- + (Optional) Unique string for each deCONZ hardware. + It can be found as part of the integration name. + Useful if you run multiple deCONZ integrations. example: "00212EFFFF012345" remove_orphaned_entries: + name: Remove orphaned entries description: Clean up device and entity registry entries orphaned by deCONZ. fields: bridgeid: - description: (Optional) Bridgeid is a string unique for each deCONZ hardware. It can be found as part of the integration name. + name: Bridge identifier + required: false + selector: + text: + description: >- + (Optional) Unique string for each deCONZ hardware. + It can be found as part of the integration name. + Useful if you run multiple deCONZ integrations. example: "00212EFFFF012345" From 085475e238ece4ec32ec10e8ce6283ddeccbf034 Mon Sep 17 00:00:00 2001 From: Robert Svensson Date: Wed, 31 Mar 2021 18:53:40 +0200 Subject: [PATCH 02/12] Update homeassistant/components/deconz/services.yaml Co-authored-by: Franck Nijhof --- homeassistant/components/deconz/services.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/homeassistant/components/deconz/services.yaml b/homeassistant/components/deconz/services.yaml index cacd86bd72533..0991d08d8be7f 100644 --- a/homeassistant/components/deconz/services.yaml +++ b/homeassistant/components/deconz/services.yaml @@ -14,7 +14,6 @@ configure: integration: deconz field: name: Path - required: false selector: text: description: >- From 19ce17c3a832355f473aa5dddf4d4acdf8055ff9 Mon Sep 17 00:00:00 2001 From: Robert Svensson Date: Wed, 31 Mar 2021 18:53:47 +0200 Subject: [PATCH 03/12] Update homeassistant/components/deconz/services.yaml Co-authored-by: Franck Nijhof --- homeassistant/components/deconz/services.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/homeassistant/components/deconz/services.yaml b/homeassistant/components/deconz/services.yaml index 0991d08d8be7f..afcdbf71887c6 100644 --- a/homeassistant/components/deconz/services.yaml +++ b/homeassistant/components/deconz/services.yaml @@ -6,7 +6,6 @@ configure: fields: entity: name: Entity - required: false description: Represents a specific device endpoint in deCONZ. example: "light.rgb_light" selector: From 4049fe2fc7ec9dda489824934bafd9e6a56ce473 Mon Sep 17 00:00:00 2001 From: Robert Svensson Date: Wed, 31 Mar 2021 18:53:53 +0200 Subject: [PATCH 04/12] Update homeassistant/components/deconz/services.yaml Co-authored-by: Franck Nijhof --- homeassistant/components/deconz/services.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/homeassistant/components/deconz/services.yaml b/homeassistant/components/deconz/services.yaml index afcdbf71887c6..d5a3c26556cfc 100644 --- a/homeassistant/components/deconz/services.yaml +++ b/homeassistant/components/deconz/services.yaml @@ -29,7 +29,6 @@ configure: example: '{"on": true}' bridgeid: name: Bridge identifier - required: false selector: text: description: >- From 041ecc0d0260e6d47297026b988be65c29baca13 Mon Sep 17 00:00:00 2001 From: Robert Svensson Date: Wed, 31 Mar 2021 18:54:00 +0200 Subject: [PATCH 05/12] Update homeassistant/components/deconz/services.yaml Co-authored-by: Franck Nijhof --- homeassistant/components/deconz/services.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/homeassistant/components/deconz/services.yaml b/homeassistant/components/deconz/services.yaml index d5a3c26556cfc..ee18d7e6afa90 100644 --- a/homeassistant/components/deconz/services.yaml +++ b/homeassistant/components/deconz/services.yaml @@ -43,7 +43,6 @@ device_refresh: fields: bridgeid: name: Bridge identifier - required: false selector: text: description: >- From 5823b6403d9a7babf04614fbadf912a25d7185ae Mon Sep 17 00:00:00 2001 From: Robert Svensson Date: Wed, 31 Mar 2021 18:54:07 +0200 Subject: [PATCH 06/12] Update homeassistant/components/deconz/services.yaml Co-authored-by: Franck Nijhof --- homeassistant/components/deconz/services.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/homeassistant/components/deconz/services.yaml b/homeassistant/components/deconz/services.yaml index ee18d7e6afa90..733c617f5be7c 100644 --- a/homeassistant/components/deconz/services.yaml +++ b/homeassistant/components/deconz/services.yaml @@ -57,7 +57,6 @@ remove_orphaned_entries: fields: bridgeid: name: Bridge identifier - required: false selector: text: description: >- From 09e863737daa1f2ef441e797d4ad69d73bb84e0c Mon Sep 17 00:00:00 2001 From: Robert Svensson Date: Wed, 31 Mar 2021 18:54:52 +0200 Subject: [PATCH 07/12] Update homeassistant/components/deconz/services.yaml Co-authored-by: Franck Nijhof --- homeassistant/components/deconz/services.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/deconz/services.yaml b/homeassistant/components/deconz/services.yaml index 733c617f5be7c..83b1220888fc0 100644 --- a/homeassistant/components/deconz/services.yaml +++ b/homeassistant/components/deconz/services.yaml @@ -32,7 +32,7 @@ configure: selector: text: description: >- - (Optional) Unique string for each deCONZ hardware. + Unique string for each deCONZ hardware. It can be found as part of the integration name. Useful if you run multiple deCONZ integrations. example: "00212EFFFF012345" From fe3dfdfdfbd91eca5cc713243a9a1bfba05ca838 Mon Sep 17 00:00:00 2001 From: Robert Svensson Date: Wed, 31 Mar 2021 18:54:58 +0200 Subject: [PATCH 08/12] Update homeassistant/components/deconz/services.yaml Co-authored-by: Franck Nijhof --- homeassistant/components/deconz/services.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/deconz/services.yaml b/homeassistant/components/deconz/services.yaml index 83b1220888fc0..c1ba627d18bf0 100644 --- a/homeassistant/components/deconz/services.yaml +++ b/homeassistant/components/deconz/services.yaml @@ -46,7 +46,7 @@ device_refresh: selector: text: description: >- - (Optional) Unique string for each deCONZ hardware. + Unique string for each deCONZ hardware. It can be found as part of the integration name. Useful if you run multiple deCONZ integrations. example: "00212EFFFF012345" From 3314b835fbdcec335f3e5ebf1c0e9020c5f52ce7 Mon Sep 17 00:00:00 2001 From: Robert Svensson Date: Wed, 31 Mar 2021 18:55:03 +0200 Subject: [PATCH 09/12] Update homeassistant/components/deconz/services.yaml Co-authored-by: Franck Nijhof --- homeassistant/components/deconz/services.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/deconz/services.yaml b/homeassistant/components/deconz/services.yaml index c1ba627d18bf0..bc86e5031fb5f 100644 --- a/homeassistant/components/deconz/services.yaml +++ b/homeassistant/components/deconz/services.yaml @@ -60,7 +60,7 @@ remove_orphaned_entries: selector: text: description: >- - (Optional) Unique string for each deCONZ hardware. + Unique string for each deCONZ hardware. It can be found as part of the integration name. Useful if you run multiple deCONZ integrations. example: "00212EFFFF012345" From 93990303320099eb197e4e41d7ee1f68cabdeef6 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Wed, 31 Mar 2021 19:41:46 +0200 Subject: [PATCH 10/12] Update homeassistant/components/deconz/services.yaml --- homeassistant/components/deconz/services.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/deconz/services.yaml b/homeassistant/components/deconz/services.yaml index bc86e5031fb5f..3bce097f7d391 100644 --- a/homeassistant/components/deconz/services.yaml +++ b/homeassistant/components/deconz/services.yaml @@ -24,7 +24,7 @@ configure: name: Configuration payload required: true selector: - text: + object: description: JSON object with what data you want to alter. example: '{"on": true}' bridgeid: From eef0c5fa97c05a94f365f0abe865e59ea0d4b50d Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Wed, 31 Mar 2021 19:41:52 +0200 Subject: [PATCH 11/12] Update homeassistant/components/deconz/services.yaml --- homeassistant/components/deconz/services.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/deconz/services.yaml b/homeassistant/components/deconz/services.yaml index 3bce097f7d391..64d913f43d85b 100644 --- a/homeassistant/components/deconz/services.yaml +++ b/homeassistant/components/deconz/services.yaml @@ -30,7 +30,7 @@ configure: bridgeid: name: Bridge identifier selector: - text: + object: description: >- Unique string for each deCONZ hardware. It can be found as part of the integration name. From ccad8d782443fbca8c2e88474c28ee9031bb963c Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Wed, 31 Mar 2021 19:44:12 +0200 Subject: [PATCH 12/12] Update homeassistant/components/deconz/services.yaml --- homeassistant/components/deconz/services.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/deconz/services.yaml b/homeassistant/components/deconz/services.yaml index 64d913f43d85b..3bce097f7d391 100644 --- a/homeassistant/components/deconz/services.yaml +++ b/homeassistant/components/deconz/services.yaml @@ -30,7 +30,7 @@ configure: bridgeid: name: Bridge identifier selector: - object: + text: description: >- Unique string for each deCONZ hardware. It can be found as part of the integration name.