It's telling you exactly what is wrong...
Int means a number. It's expecting a number, and you've simply provided 'kitchen'. I'm not sure what a "Segment" is in this context, but it needs to be a number, or list of numbers as the label explains. That means you need to map rooms, and get their numbers.