diff --git a/pyaci/aci/AciEvent.py b/pyaci/aci/AciEvent.py index e53c437..a197536 100644 --- a/pyaci/aci/AciEvent.py +++ b/pyaci/aci/AciEvent.py @@ -128,10 +128,10 @@ def __init__(self, sensor_id, data): self.data = data def __repr__(self): if self.is_valid: - return "SensorValues: sensor_id:{sensor_id} proximity_ids:{proximity_ids} " \ + return ("SensorValues: sensor_id:{sensor_id} proximity_ids:{proximity_ids} " \ + "proximity_rssi:{proximity_rssi} battery:{battery}, accel:(" \ + "{accel_x}, {accel_y}, {accel_z}), status:{status}, " \ - + "valid_time:{valid_time}".format(**vars(self)) + + "valid_time:{valid_time}").format(**vars(self)) else: return "SensorValues: invalid data from sensor {sensor_id}: ({data})"\ .format(**vars(self)) @@ -187,10 +187,10 @@ def __init__(self, data): ) = unpack('