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

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
pull/48559/head
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
1 changed files with 42 additions and 8 deletions

View File

@ -1,32 +1,66 @@
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
description: Represents a specific device endpoint in deCONZ.
example: "light.rgb_light"
selector:
entity:
integration: deconz
field:
name: Path
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:
object:
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
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"
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
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"
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
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"