Does your device come with one of those apps that allows you to set schedules and triggers? (do this if this, or do this when at that time etc).
I hear that this is a feature of HomeKit but I don't understand how that works, does it run off your iPhone? If so, what happens when you are not at home or if phone is turned off?