Fix redirect to correct room bug. Only allow dim if device is on