Removed writing a link_reference in the Sensor object to xml