Hello there,
my parents have a pretty big solar power plant on their roof.
In an effort to optimize the consumption of self produced power, I created some automations that would enable/disable electric heating fans in when the house was cold enough.
Now they got a heat pump system installed (Mitsubishi) and since the old automations were a huge mess of if/when/else to optimize the power usage, I wondered if there was a script/blueprint or integration that could optimize this.
E.g. where scenes paired with consumptions could be added and then enabled by HA on demand to use as much of the generated power as long as there was heating demand.