A Room is a device that can gather other devices used to indicate a state of occupancy. Normal use is to turn lights off when the room has been empty for a period of time. States supported - UNKNOWN, OCCUPY, VACATE
Examples: # ______ ROOMS ___________________________________________________ r_upstairs = Room(name='Upstairs', devices=(m_livingroom, m_kitchen, m_hallway), trigger={ Attribute.COMMAND: Command.OCCUPY, Attribute.MAPPED: Command.VACATE, Attribute.SECS: 60*60, }, ) r_downstairs = Room(name='Downstairs', devices=m_recroom,m_stairs trigger={ Attribute.COMMAND: Command.OCCUPY, Attribute.MAPPED: Command.VACATE, Attribute.SECS: 30*60, }, ) |