The corner-lamp preset names one device and uses the kitchen only to locate it. The kitchen-lights preset explicitly says all lights in that room. Those commands therefore have different target scopes even though both mention the kitchen.
The two-room preset is explicit but falls outside the three common scopes. It receives Other explicit scope rather than being stretched into Whole home. A reference such as those remains unresolved without a supplied target set.
The linked voice-command example separates scope from device kind and downstream actions. This original window keeps that boundary: it returns a scope label without connecting to Home Assistant or changing a device.
The API-collected roundup links the cited project. Its pinned source defines the decision adapted here. These synthetic inputs and explicit missing-context outcomes are original to this demonstration. The window returns a label; it does not run the linked application, execute its downstream actions or verify its performance claims.