Wenn du getAllSensors () einmal vorher aufrufst, könnte es auch schon da klappen. Keine Garantie .