From 19b1657f21a2851ffd6f4b1ee081f34e4870766d Mon Sep 17 00:00:00 2001 From: Michael Zanetti Date: Thu, 23 Sep 2021 18:20:41 +0200 Subject: [PATCH] Make currentPower mandatory for smartmeters --- libnymea/interfaces/smartmeterconsumer.json | 1 - libnymea/interfaces/smartmeterproducer.json | 1 - 2 files changed, 2 deletions(-) diff --git a/libnymea/interfaces/smartmeterconsumer.json b/libnymea/interfaces/smartmeterconsumer.json index d3316399..69456283 100644 --- a/libnymea/interfaces/smartmeterconsumer.json +++ b/libnymea/interfaces/smartmeterconsumer.json @@ -12,7 +12,6 @@ "name": "currentPower", "type": "double", "unit": "Watt", - "optional": true, "logged": true } ] diff --git a/libnymea/interfaces/smartmeterproducer.json b/libnymea/interfaces/smartmeterproducer.json index 8e374a97..442542ba 100644 --- a/libnymea/interfaces/smartmeterproducer.json +++ b/libnymea/interfaces/smartmeterproducer.json @@ -12,7 +12,6 @@ "name": "currentPower", "type": "double", "unit": "Watt", - "optional": true, "logged": true } ]