Adjustment of regex

The regex does not work correctly if no rain sensor is present.
Merge pull request #1 from danst0/patch-1

Adjustment of regex