devices.tasks ============= .. py:module:: devices.tasks .. autoapi-nested-parse:: Asynchronous tasks for device operations. Module Contents --------------- .. py:data:: logger .. py:function:: perform_gds_push_update(device_id) Perform a periodic GDS Push server certificate and trustlist update for a device. This function is executed by Django-Q2 as a background task. It updates both the server certificate and the trustlist on the OPC UA GDS Push device, then schedules the next execution according to the configured renewal interval. :param device_id: Primary key of the DeviceModel to update. :raises ValueError: If the device does not exist.