Fix null pointer deref in taskToLocalData
Fix null pointer deref in taskToLocalData

This could happen if the task was issued to lights not having ct.

dresden-elektronik/deconz-rest-plugin,dresden-elektronik/deconz-rest-plugin,dresden-elektronik/deconz-rest-plugin,dresden-elektronik/deconz-rest-plugin,dresden-elektronik/deconz-rest-plugin