deviceId); if ($device !== null && $device->protocol === 'http') { $poller->poll($device); } } }