This repository has been archived on 2026-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
powersync-core/libnymea/interfaces/smartmeterconsumer.json
Michael Zanetti 716df71180 Support units in interfaces
Adds validation for units in interfaces
2020-01-05 14:51:00 +01:00

12 lines
275 B
JSON

{
"description": "A smartmeterproducer can monitor total energy consumed by this thing.",
"extends": "smartmeter",
"states": [
{
"name": "totalEnergyConsumed",
"type": "double",
"unit": "KiloWattHour"
}
]
}