From ea20910ac7520fd3aec3355b6d531de750702961 Mon Sep 17 00:00:00 2001 From: Manuel Pietschmann Date: Mon, 12 Mar 2018 10:03:18 +0100 Subject: [PATCH] Add RConfigConfigured to Daylight sensor on creation --- rest_configuration.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rest_configuration.cpp b/rest_configuration.cpp index 43b178f31a..b1734253d0 100644 --- a/rest_configuration.cpp +++ b/rest_configuration.cpp @@ -212,6 +212,8 @@ void DeRestPluginPrivate::initTimezone() dl.setId(daylightSensorId); dl.setType(QLatin1String("Daylight")); dl.setName(QLatin1String("Daylight")); + item = dl.addItem(DataTypeBool, RConfigConfigured); + item->setValue(false); item = dl.addItem(DataTypeBool, RStateDaylight); item->setValue(QVariant());