Mini-climate card - how to modify min/max temperatures according to the season

I’m using the mini-climate card - which is great by the way - and trying to figure out how to change the min/max temperatures according to the season (or something). The objective is that when it’s summer I want the min-max range to be something like 21-24, and in winter something like 16-21. That makes it harder for someone to accidentally make the aircon unit work too hard and waste energy.

Is there a way to do that? The yaml is a bit hard for me to understand. Thanks.

From a quick scan of the card instructions on github it would appear that the min and max temperature options do not support templates. So your only option to change them would be to use this:

Note that it uses JavaScript, not the Jinja templates used elsewhere in home assistant.

If you want some help with this I suggest you share your (correctly formatted for the forum) card config. and season sensor entity id.

I am not well versed in JS compared to Jinja so it may require someone else to help you.