Hot season or Cold season

Hi guys,
I want to make a climate thermostat that depends on outside temperatures. First of all, i need to detect if is the cold or hot season.
Right now i use all the outside temps reported by sensor for 3 days and get the average (mean) from them. If the temp is bellow 15°C its cold season, if the average is bigger then 20°C, its hot season.

The problem is that sometimes there are few hot days in octomber and the flow switch to hot season. I cant rely on calendar because sometime winter is coming… but later :slight_smile:

How do you think i better detect the season?

I use a automation that checks what month it is on the first day of each month & depending on the answer puts “winter” or “summer” in an input_text for reference for various other automations to access. This can obviously be fine-tuned to more seasons if you want.

you mean like the season sensor?

Thanks, nickrout. Had to re-invent the wheel, didn’t I. Cheers.

1 Like