Difference between revisions of "Capability Object"

From Hubitat Documentation
Jump to: navigation, search
(Created page with "The Capabilities object is comprised of attributes and commands for a driver. If a driver implements a method it tells the system what commands and attributes it supports to...")
 
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
The Capabilities object is comprised of attributes and commands for a driver.  If a driver implements a method it tells the system what commands and attributes it supports to allow Apps a standardized method of interacting with the device.
 
  
==Properties==
+
<big>'''We're moving!''' Please visit http://docs2.hubitat.com for the latest documentation.</big>
===<code>id</code>===
+
 
Long: A unique id for the capability.
+
<big>
===<code>name</code>===
+
This document is available at: http://docs2.hubitat.com/en/developer/capability-object
String: The name of the capability.
+
</big>
===<code>reference</code>===
 
String: The reference for a capability. ie capability.refresh for the Refresh capability.  This reference is used by App inputs to select devices.
 
===<code>attributes</code>===
 
List<Attribute>: A list of attributes supported by this capability.
 
===<code>commands</code>===
 
List<Command>: A list of commands supported by this capability.
 

Latest revision as of 03:53, 25 September 2022

We're moving! Please visit http://docs2.hubitat.com for the latest documentation.

This document is available at: http://docs2.hubitat.com/en/developer/capability-object