Provide the improved service UX with deCONZ services (#48382)

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
Robert Svensson 2021-03-31 20:14:26 +02:00 committed by GitHub
parent c06ac9e12b
commit bc5d828554
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,32 +1,66 @@
configure: 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: fields:
entity: entity:
description: Entity id representing a specific device in deCONZ. name: Entity
description: Represents a specific device endpoint in deCONZ.
example: "light.rgb_light" example: "light.rgb_light"
selector:
entity:
integration: deconz
field: field:
name: Path
selector:
text:
description: >- 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 is not specified) or a subpath of the device path for the
entity (when entity is specified). entity (when entity is specified).
example: '"/lights/1/state" or "/state"' example: '"/lights/1/state" or "/state"'
data: data:
description: Data is a JSON object with what data you want to alter. name: Configuration payload
required: true
selector:
object:
description: JSON object with what data you want to alter.
example: '{"on": true}' example: '{"on": true}'
bridgeid: 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
selector:
text:
description: >-
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" example: "00212EFFFF012345"
device_refresh: device_refresh:
description: Refresh device lists from deCONZ. name: Device refresh
description: Refresh available devices from deCONZ.
fields: fields:
bridgeid: 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
selector:
text:
description: >-
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" example: "00212EFFFF012345"
remove_orphaned_entries: remove_orphaned_entries:
name: Remove orphaned entries
description: Clean up device and entity registry entries orphaned by deCONZ. description: Clean up device and entity registry entries orphaned by deCONZ.
fields: fields:
bridgeid: 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
selector:
text:
description: >-
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" example: "00212EFFFF012345"