Device Info API

Application is able to query device information.

Cluster Support (Capabilities)

Libre_DeviceSupportsCluster(id, cluster)

Check if the device supports the given Cluster.

Parameters:

  • id - Integer, internal device ID.
  • cluster - Integer, the cluster of attribute.

Returns:

  • True if cluster is supported by device; otherwise false.