I have the IFTTT Smartthings Applet running called Get a phone call alert when a door is opened during sleeping hours (10pm to 6am). But I have both a front and back door sensor so I think I need to create a personal copy of this applet for the second sensor.
I know how to create the If and Then parts of the Applet but not sure about the filter.
I assume it starts like this but not sure how to complete it
var currentHour = Meta.currentUserTime.hour()
if (currentHour >= 22 || currentHour < 6 ) {
// Run the applet
} else {
// Skip the action