support  for level (contact) sensors.