def _get_static_state_attributes(self) -> Mapping[str, Any]:
        """Return the static attributes of the generic entity."""
        attributes: dict[str, Any] = {
            ATTR_INTERFACE_ID: self._data_point.device.interface_id,
            ATTR_ADDRESS: self._data_point.channel.address,
            ATTR_MODEL: self._data_point.device.model,
        }
        if isinstance(self._data_point, CalculatedDataPoint | GenericDataPoint):
            attributes[ATTR_PARAMETER] = self._data_point.parameter
            attributes[ATTR_FUNCTION] = self._data_point.function

        return attributes
Return the static attributes of the generic entity.
custom_components/homematicip_local/generic_entity.py