async def METHOD_NAME(self) -> None:
    """Validate correct setup of the strategy."""
    if not self._config.get(CONF_CALIBRATE):
        if self._source_entity.domain not in ALLOWED_DOMAINS:
            raise StrategyConfigurationError(
                "Entity domain not supported for linear mode. Must be one of: {}, or use the calibrate option".format(
                    ",".join(ALLOWED_DOMAINS),
                ),
                "linear_unsupported_domain",
            )
        if not self._config.get(CONF_MAX_POWER):
            raise StrategyConfigurationError(
                "Linear strategy must have at least 'max power' or 'calibrate' defined",
                "linear_mandatory",
            )
    min_power = self._config.get(CONF_MIN_POWER)
    max_power = self._config.get(CONF_MAX_POWER)
    if min_power and max_power and min_power >= max_power:
        raise StrategyConfigurationError(
            "Max power cannot be lower than min power",
            "linear_min_higher_as_max",
        )