mirror of
https://github.com/home-assistant/core
synced 2024-09-03 08:14:07 +02:00
![David F. Mulcahey](/assets/img/avatar_default.png)
* reconfigure zha device service add log line to reconfigure service for consistency * add entity functions to support new services * added new services and web socket api and split them into their own module * support manufacturer code logging to debug get safe value for manufacturer * update services.yaml * add comma back * update coveragerc * remove blank line * fix type * api cleanup - review comments * move static method to helpers - review comment * convert reconfigure service to websocket command - review comment * change path * fix attribute
76 lines
2.2 KiB
YAML
76 lines
2.2 KiB
YAML
# Describes the format for available zha services
|
|
|
|
permit:
|
|
description: Allow nodes to join the ZigBee network.
|
|
fields:
|
|
duration:
|
|
description: Time to permit joins, in seconds
|
|
example: 60
|
|
|
|
remove:
|
|
description: Remove a node from the ZigBee network.
|
|
fields:
|
|
ieee_address:
|
|
description: IEEE address of the node to remove
|
|
example: "00:0d:6f:00:05:7d:2d:34"
|
|
|
|
reconfigure_device:
|
|
description: >-
|
|
Reconfigure ZHA device (heal device). Use this if you are having issues
|
|
with the device. If the device in question is a battery powered device
|
|
please ensure it is awake and accepting commands when you use this
|
|
service.
|
|
fields:
|
|
ieee_address:
|
|
description: IEEE address of the device to reconfigure
|
|
example: "00:0d:6f:00:05:7d:2d:34"
|
|
|
|
set_zigbee_cluster_attribute:
|
|
description: >-
|
|
Set attribute value for the specified cluster on the specified entity.
|
|
fields:
|
|
entity_id:
|
|
description: Entity id
|
|
example: "binary_sensor.centralite_3130_00e8fb4e_1"
|
|
cluster_id:
|
|
description: ZCL cluster to retrieve attributes for
|
|
example: 6
|
|
cluster_type:
|
|
description: type of the cluster (in or out)
|
|
example: "out"
|
|
attribute:
|
|
description: id of the attribute to set
|
|
example: 0
|
|
value:
|
|
description: value to write to the attribute
|
|
example: 0x0001
|
|
manufacturer:
|
|
description: manufacturer code
|
|
example: 0x00FC
|
|
|
|
issue_zigbee_cluster_command:
|
|
description: >-
|
|
Issue command on the specified cluster on the specified entity.
|
|
fields:
|
|
entity_id:
|
|
description: Entity id
|
|
example: "binary_sensor.centralite_3130_00e8fb4e_1"
|
|
cluster_id:
|
|
description: ZCL cluster to retrieve attributes for
|
|
example: 6
|
|
cluster_type:
|
|
description: type of the cluster (in or out)
|
|
example: "out"
|
|
command:
|
|
description: id of the command to execute
|
|
example: 0
|
|
command_type:
|
|
description: type of the command to execute (client or server)
|
|
example: "server"
|
|
args:
|
|
description: args to pass to the command
|
|
example: {}
|
|
manufacturer:
|
|
description: manufacturer code
|
|
example: 0x00FC
|