def METHOD_NAME(
    self,
    source_entity: SourceEntity,
    config: dict,
    power_profile: PowerProfile | None,
) -> FixedStrategy:
    """Create the fixed strategy."""
    fixed_config = config.get(CONF_FIXED)
    if fixed_config is None:
        if power_profile and power_profile.fixed_mode_config:
            fixed_config = power_profile.fixed_mode_config
        else:
            raise StrategyConfigurationError("No fixed configuration supplied")
    power = fixed_config.get(CONF_POWER)
    if power is None:
        power = fixed_config.get(CONF_POWER_TEMPLATE)
    if isinstance(power, Template):
        power.hass = self._hass
    states_power: dict = fixed_config.get(CONF_STATES_POWER)  # type: ignore
    if states_power:
        for p in states_power.values():
            if isinstance(p, Template):
                p.hass = self._hass
    return FixedStrategy(source_entity, power, states_power)