Load cached sensor state buttonevent from db
@@ -526,11 +526,6 @@ void Sensor::jsonToState(const QString &json)
ResourceItem *item = itemForIndex(i);
const ResourceItemDescriptor &rid = item->descriptor();
- if (item->descriptor().suffix == RStateButtonEvent)
- { // set only from live data
- continue;
- }
-
if (strncmp(rid.suffix, "state/", 6) == 0)
{
const char *key = item->descriptor().suffix + 6;
