| <!-- |
| ~ Copyright (c) 2017 CEA. |
| ~ All rights reserved. This program and the accompanying materials |
| ~ are made available under the terms of the Eclipse Public License v1.0 |
| ~ which accompanies this distribution, and is available at |
| ~ http://www.eclipse.org/legal/epl-v10.html |
| ~ |
| ~ Contributors: |
| ~ CEA - initial API and implementation |
| --> |
| |
| <resourceInfos xmlns="http://org.eclipse.sensinact/resource" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| xsi:schemaLocation="http://org.eclipse.sensinact/resource ../../../../../platform/sensinact-generic/src/main/resources/sensinact-resource.xsd"> |
| <resourceInfo xsi:type="resourceInfoSensor" name="STATE" target="switch" > |
| <identifier xsi:type="stringContent">STATE</identifier> |
| <attributes> |
| <attribute name="value" type="boolean" modifiable="UPDATABLE"> |
| <value>false</value> |
| </attribute> |
| </attributes> |
| </resourceInfo> |
| <devices> |
| <device identifier="button"> |
| <service name="switch"/> |
| </device> |
| </devices> |
| </resourceInfos> |