only replying the state of the sensor