A device for detecting a property of a fluid includes a body region and a flexible element having a first end and a second end. The first end is fixedly located on the body region. The flexible element is arranged to move from at least a first configuration to a second configuration via bending of the flexible element. The flexible element includes an actuating portion arranged to move the flexible element between the first configuration and the second configuration. The device also includes a movement detector for detecting movement of the flexible element.