added support for rain sensors