Skip to content

Commit

Permalink
Add RConfigConfigured to Daylight sensor on creation
Browse files Browse the repository at this point in the history
  • Loading branch information
manup committed Mar 12, 2018
1 parent 328fde0 commit ea20910
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rest_configuration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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());

Expand Down

0 comments on commit ea20910

Please sign in to comment.