Difference between revisions of "Driver Capability List"
(Tag: Visual edit) |
|||
Line 2: | Line 2: | ||
'''<big>Device Selector</big>''' | '''<big>Device Selector</big>''' | ||
− | + | :<code>capability.switchLevel</code> | |
'''<big>Attributes</big>''' | '''<big>Attributes</big>''' | ||
− | + | : '''<code>level</code>''' - NUMBER | |
− | :'''level''' - | ||
'''<big>Commands</big>''' | '''<big>Commands</big>''' | ||
− | |||
:'''<code>setLevel(Level, Duration)</code>''' | :'''<code>setLevel(Level, Duration)</code>''' | ||
− | : ''Level'' (NUMBER) - Level to set (0 to 100) | + | :: ''Level'' (NUMBER) - Level to set (0 to 100) |
− | + | :: ''Duration'' (NUMBER) - Transition duration in seconds | |
==Thermostat== | ==Thermostat== | ||
'''<big>Device Selector</big>''' | '''<big>Device Selector</big>''' | ||
− | |||
− | |||
− | + | <code>capability.thermostat</code> | |
+ | '''<big>Attributes</big>''' | ||
+ | :'''<code>temperature</code>''' - NUMBER | ||
'''<big>Commands</big>''' | '''<big>Commands</big>''' | ||
− | + | :'''<code>setHeatingSetpoint(Temperature)</code>''' | |
− | '''setHeatingSetpoint | ||
− | |||
− | |||
::''Temperature'' (NUMBER) - Heating setpoint in degrees | ::''Temperature'' (NUMBER) - Heating setpoint in degrees | ||
− | '''setCoolingSetpoint | + | :'''<code>setCoolingSetpoint(Temperature)</code>''' |
− | |||
− | |||
::''Temperature'' (NUMBER) - Cooling setpoint in degrees | ::''Temperature'' (NUMBER) - Cooling setpoint in degrees |
Revision as of 17:29, 7 January 2019
SwitchLevel
Device Selector
capability.switchLevel
Attributes
level
- NUMBER
Commands
setLevel(Level, Duration)
- Level (NUMBER) - Level to set (0 to 100)
- Duration (NUMBER) - Transition duration in seconds
Thermostat
Device Selector
capability.thermostat
Attributes
temperature
- NUMBER
Commands
setHeatingSetpoint(Temperature)
- Temperature (NUMBER) - Heating setpoint in degrees
setCoolingSetpoint(Temperature)
- Temperature (NUMBER) - Cooling setpoint in degrees