'Return the state attributes fof the device.'

@property
def device_state_attributes(self):

    attr = {}
    attr['volts'] = round(self._port.data.get('v_rms', 0), 1)
    attr['amps'] = round(self._port.data.get('i_rms', 0), 1)
    return attr
