DEV: PollManager remove device handling
This is now done by DeviceTick
#include "poll_manager.h"
#include "de_web_plugin_private.h"
-#include "device_descriptions.h"
/*! Constructor.
*/
@@ -75,12 +74,6 @@ void PollManager::poll(RestNodeBase *restNode, const QDateTime &tStart)
return;
}
- auto *device = DEV_GetDevice(plugin->m_devices, restNode->address().ext());
- if (device)
- {
- plugin->enqueueEvent(Event(device->prefix(), REventPoll, 0, device->key()));
- }
-
pitem.id = restNode->id();
pitem.prefix = r->prefix();
pitem.address = restNode->address();
