Edit: _device.py