I would like to turn NEST Thermostat into a night light trigger.
If it is between sunset and sunrise, when motion is detected by the NEST turn on a light, if it is off. 5 minutes after light tuns on turn light off.
I don't see an action trigger in the NEST "thing" to do this. Am I missing something?
Has anyone developed a flow to to this action?