Patent attributes
An automated shading system defines an environmental state as a discrete variable representing a history of values of a second discrete variable representing the ambient environment. The system executes a state-specific automated shading command upon occurrence of each state. Prior to usage, each automated shading command is initialized to one of two types of command, as a function of the corresponding state: an “adjust shading” command that causes an automatic adjustment to a predetermined shading setting, or a “do not adjust” command that causes no shading adjustment. The system also enables a user to directly adjust the shading to a selected setting via deliberate shading commands. After each deliberate shading adjustment, the system updates the automated shading command associated with the current state to an “adjust shading” command that, upon subsequent occurrence of the same state, will cause an automatic adjustment to the same selected setting.