Adjustment of regex

The regex does not work correctly if no rain sensor is present.