Adding state machines for the statuses of individual rooms