If it begins to rain then on/change the light color.

Discover more time saving integrations for Netatmo Weather Station and MeshTek