def METHOD_NAME(self, saved_state):
    self._buy_energy_profile.profile = convert_str_to_pendulum_in_dict(
        saved_state["energy_buy_rate"])
    self._sell_energy_profile.profile = convert_str_to_pendulum_in_dict(
        saved_state["energy_rate"])