Get Device ID by Name
Convert device hostname to device ID.
Args: device_name: The hostname/name of the device.
Returns: Device object with id and name.
Raises: HTTPException: If device not found or multiple devices match.
Convert device hostname to device ID.
Args: device_name: The hostname/name of the device.
Returns: Device object with id and name.
Raises: HTTPException: If device not found or multiple devices match.