CPC G05B 15/02 (2013.01) [G06F 3/0482 (2013.01); G06F 3/04847 (2013.01); G06F 3/04883 (2013.01); G06F 3/1454 (2013.01); G06F 3/147 (2013.01); G08C 17/02 (2013.01); G09G 5/14 (2013.01); H05B 45/20 (2020.01); H05B 47/19 (2020.01); G05B 2219/2642 (2013.01); G08C 2201/30 (2013.01); G08C 2201/50 (2013.01); G08C 2201/91 (2013.01); G08C 2201/93 (2013.01); G09G 2370/22 (2013.01)] | 24 Claims |
1. An electronic device, comprising:
a display;
a touch-sensitive surface;
one or more processors; and
a memory storing one or more programs, the one or more programs configured to be executed by the one or more processors, the one or more programs including instructions for:
displaying a user interface corresponding to an automation profile, wherein the automation profile includes data representing automation criteria for controlling at least one controllable external device and a designated state of the at least one controllable external device, wherein the automation criteria for controlling the at least one controllable external device includes an automation criterion for controlling the at least one controllable external device based in part on an operation state of a respective controllable external device that is different from the at least one controllable external device, and wherein the automation criteria include location-based criteria and time-based criteria, including a relative start time, a relative end time, and a time offset;
subsequent to displaying the user interface corresponding to the automation profile:
detecting a set of user inputs, the set of user inputs including:
a first user input corresponding to designation of one of the location-based criteria, wherein the designated location-based criterion is based at least in part on a location of the electronic device with respect to a first location associated with the at least one controllable external device; and
a second user input corresponding to the relative start time;
a third user input corresponding to the relative end time; and
a fourth user input corresponding to adding or subtracting the time offset from one or both of the relative start time or the relative end time;
displaying a map view that includes an indication of at least one of the designated one of the location-based criteria;
subsequent to detecting the set of user inputs including the user input corresponding to designation of one of the location-based criteria, associating the designated one of the location-based criteria with the automation criteria of the automation profile associated with the first location; and
subsequent to detecting the set of user inputs including the second user input corresponding to the relative start time, the third user input corresponding to the relative end time, and the fourth user input corresponding to adding or subtracting the time offset from one or both of the relative start time or the relative end time, associating the designated one of the time-based criteria with the automation criteria for controlling the at least one controllable external device; and
in accordance with a determination that the automation criteria for controlling the at least one controllable external device are met, sending instructions to set the at least one controllable external device to the designated state.
|