initial take on adding a smartmeter interface
This commit is contained in:
parent
4c8ee8657e
commit
6b636fb82e
@ -42,6 +42,7 @@
|
|||||||
<file>extendedshutter.json</file>
|
<file>extendedshutter.json</file>
|
||||||
<file>smartlock.json</file>
|
<file>smartlock.json</file>
|
||||||
<file>system.json</file>
|
<file>system.json</file>
|
||||||
|
<file>smartmeter.json</file>
|
||||||
</qresource>
|
</qresource>
|
||||||
<qresource prefix="/"/>
|
<qresource prefix="/"/>
|
||||||
</RCC>
|
</RCC>
|
||||||
|
|||||||
9
libnymea/interfaces/smartmeter.json
Normal file
9
libnymea/interfaces/smartmeter.json
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"states": [
|
||||||
|
{
|
||||||
|
"name": "totalEnergy",
|
||||||
|
"type": "double"
|
||||||
|
}
|
||||||
|
|
||||||
|
]
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user