Turn "take coat" warning light on if temperature lower than 10 C.
This is one in 4 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 D1 (or other that you indicate in the action, below).