'Return the state attributes.'

@property
def device_state_attributes(self):

    attrs = {}
    attrs[ATTR_ATTRIBUTION] = CONF_ATTRIBUTION
    if self.extra:
        attrs['model'] = self.extra.get('deviceVersion')
        attrs['type'] = self.extra.get('type')
    return attrs
