Add basic constructor and parent node to Sensor.