{ "name": "lamp.queryable", "version": 0.1, "description": "Simple lamp that can be queried about its state", "lang": "en", "documentation": "http://recherche.telecom-bretagne.eu/xaal/documentation/", "ref": "http://recherche.telecom-bretagne.eu/xaal/documentation/lamp.queryable", "license": "LGPLv3+ Christophe Lohr Telecom Bretagne 2014", "licenseref": "http://www.gnu.org/licenses/lgpl.txt", "extends": "lamp.basic", "methods": [ { "name": "getState", "description": "Return stateVariables of the device", "parameters": [ { "name": "ciphers", "description": "List of the supported ciphers", "unit": "", "direction": "out", "type": { "$schema": "http://json-schema.org/schema#", "type": "array", "items": { "type": "string" } } }, { "name": "lighting", "description": "State of the lamp", "unit": "true=on false=off", "direction": "out", "type": { "$schema": "http://json-schema.org/schema#", "type": "boolean" } } ] } ] }