'Return the state attributes.'

@property
def device_state_attributes(self):

    attr = {}
    attr[ATTR_LAST_TRIP_TIME] = self._sensor_last_update()
    if (self._delay != 0):
        attr[ATTR_DELAY] = self._delay
    return attr
