# In yaml to get area_id we use this construction. requires_context: area: slot: true Is there a syntax that will work similar to trigger.device_id used in GUI?