Turn "take umbrella" warning light on if weather changes to "snow"
This is one in 6 recipes used to turn two warning lights over my coat rack on or off based on the weather. Two recipes turn on, or off, a light based on temperature. The other two turn on, or off, a light based on rainfall or clear sky. Weather info from weather.com channel is used to call a function on a Particle Photon that lights the warning lights. You have to select the "digitalWrite" function on your Photon below and make sure that the lamp is connected to pin D0 (or other that you indicate in the action, below).