Skip to content
Snippets Groups Projects
Commit eafb6249 authored by clohr's avatar clohr
Browse files

xAAL 0.7

git-svn-id: https://redmine.imt-atlantique.fr/svn/xaal/schemas/branches/schemas-0.7@2440 b32b6428-25c9-4566-ad07-03861ab6144f
parent 7706409d
Branches
No related tags found
No related merge requests found
{
"title": "contact.basic",
"description": "Simple contact-sensor device; e.g. door or window opening sensor",
"lang": "en",
"documentation": "http://recherche.imt-atlantique.fr/xaal/documentation/",
"ref": "http://recherche.imt-atlantique.fr/xaal/documentation/contact.basic",
"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": "basic.basic",
"attributes": { "detected":"detected_t" },
"methods": {
"get_attributes": {
"description": "Return attributes of the device, i.e. 'detected'",
"in": { "attributes":"attributes_t" },
"out": { "detected":"detected_t" }
}
},
"notifications": {
"attributes_change": {
"description": "Report attributes that have changed, i.e. 'detected'",
"out": { "detected":"detected_t" }
}
},
"datamodel": {
"detected_t": {
"description": "Detection status of the contact sensor",
"type": "data = bool"
},
"attributes_t": {
"description": "List of wanted attributes",
"type": "attributes_t = [ ? \"detected\" ]"
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment