{ "title": "button.remote", "description": "Simple remote device with several buttons", "lang": "en", "documentation": "http://recherche.imt-atlantique.fr/xaal/documentation/", "ref": "http://recherche.imt-atlantique.fr/xaal/documentation/button.remote", "license": "Copyright Christophe Lohr IMT Atlantique 2020 - Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. This file is offered as-is, without any warranty.", "extends": "button.basic", "methods": { "get_buttons": { "description": "Return the list of buttons", "out": { "buttons":"buttons_list_t" } } }, "notifications": { "click": { "description": "Report attributes that have changed, i.e. action on a button", "out": { "action":"action_t", "button":"button_t" } } }, "datamodel": { "button_t": { "description": "Name of a button", "type": "data = tstr" }, "buttons_list_t": { "description": "List of buttons", "type": "attributes_t = [ * tstr ]" } } }