Add graph to sensor.