'Return the device specific state attributes.'

@property
def device_state_attributes(self):

    attrs = {ATTR_NODE_ID: self.node_id, ATTR_NODE_NAME: self._name, ATTR_MANUFACTURER_NAME: self._manufacturer_name, ATTR_PRODUCT_NAME: self._product_name, 'old_entity_id': self.old_entity_id, 'new_entity_id': self.new_entity_id}
    attrs.update(self._attributes)
    if (self.battery_level is not None):
        attrs[ATTR_BATTERY_LEVEL] = self.battery_level
    if (self.wakeup_interval is not None):
        attrs[ATTR_WAKEUP] = self.wakeup_interval
    return attrs
