The invention claimed is:1. A building automation controller comprising:a memory;a communications interface; anda processor in communication with the memory, the processor being configured to:receive, via the communications interface, an indication that a personal electronic device is located within a first defined space;identify a user preference associated with the personal electronic device;identify a first action to be performed by a device to affect a state of the first defined space in accordance with the user preference;transmit, via the communications interface, a first instruction to perform the first action;receive, via the communications interface, an indication that the personal electronic device is located within a second defined space;identify a second action to be performed by the device to affect a state of the second defined space in accordance with the user preference; andtransmit, via the communications interface, a second instruction to perform the second action.2. The building automation controller of claim 1, wherein the device comprises a first device and a second device.3. The building automation controller of claim 1, wherein the building automation controller comprises a first controller and a second controller.4. The building automation controller of claim 3, wherein the second action to be performed by a second device is to be performed on the second controller.5. The building automation controller of claim 3, wherein the transmit is transmitted by the second controller.6. The building automation controller of claim 1, further comprising the user preference comprising a preference of multiple users.7. The building automation controller of claim 1, wherein the first defined space comprises a bedroom, a living room, a classroom, a movie theater, a meeting room or an office.8. The building automation controller of claim 1, wherein the user preference is a state preference.9. The building automation controller of claim 1, wherein the first action is a modifying state action.10. The building automation controller of claim 1, wherein the user preference is modified by time of day.11. A method performed by a building automation controller comprising:receiving, via a communications interface, an indication that a personal electronic device is located within a first defined space;identifying a user preference associated with the personal electronic device;identifying a first action to be performed by a device to affect a state of the first defined space in accordance with the user preference;transmitting, via the communications interface, a first instruction to perform the first action;receiving, via the communications interface, an indication that the personal electronic device is located within a second defined space;identifying a second action to be performed by the device to affect a state of the second defined space in accordance with the user preference; andtransmitting, via the communications interface, a second instruction to perform the second action.12. The method of claim 11, wherein the user preference is a state preference.13. The method of claim 11, wherein the device comprises a first device and a second device.14. The method of claim 13, wherein the first defined space comprises a bedroom, a living room, a classroom, a movie theater, a meeting room, an office or a building.15. The method of claim 11, wherein the building automation controller comprises a first controller and a second controller.16. The method of claim 15, wherein the second action to be performed by a second device is to be performed on the second controller.17. The method of claim 11, further comprising the user preference comprising a preference of multiple users.18. A non-transient storage medium configured with code which upon execution by a controller with memory, having one or more processors coupled with instructions stored in the memory controlling a state change device, which performs a method, the method comprising:receiving, via a communications interface, an indication that a personal electronic device is located within a first defined space;identifying a user preference associated with the personal electronic device;identifying a first action to be performed by a device to affect a state of the first defined space in accordance with the user preference;transmitting, via the communications interface, a first instruction to perform the first action;receiving, via the communications interface, an indication that the personal electronic device is located within a second defined space;identifying a second action to be performed by the device to affect a state of the second defined space in accordance with the user preference; andtransmitting, via the communications interface, a second instruction to perform the second action.19. The non-transient storage medium of claim 18, wherein the first defined space is a first building and the second defined space is a second building.20. The non-transient storage medium of claim 19, wherein the user preference is a state preference.