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/extendedsmartmeterconsumer.json
Michael Zanetti 716df71180 Support units in interfaces
Adds validation for units in interfaces
2020-01-05 14:51:00 +01:00

12 lines
504 B
JSON

{
"description": "Like smartmeterconsumer, but instead of only providing total consumed energy, this also supports retrieving the current power demand rate. Note that currentPower is negative for consumers but might also be positive if a device implements consumer and producer and currently produces more than it consumes.",
"extends": "smartmeterconsumer",
"states": [
{
"name": "currentPower",
"type": "double",
"unit": "Watt"
}
]
}