Make sure all device state categories are slugified
Change device state categories to contain "device."
Track states of lights in state machine.