kloggy / HA-Irrigation-Version2

225 stars 55 forks source link

temperature multiplier not properly including historical temperature #12

Closed Bart39 closed 4 years ago

Bart39 commented 4 years ago

same issue as https://github.com/kloggy/HA-Irrigation-Version2/issues/11

>= instead of ==

Bart39 commented 4 years ago

nvm its implemented differently....

ToastedTortilla commented 4 years ago

Implemented differently, but slightly different issue there. The 4th day data doesn’t get used. The last if statement is missing temp_4. It should be:

{% if days_used == 4 %} {% set temp_high = (temp_0 + temp_1 + temp_2 + temp_3 + temp_4) / 5 %}

kloggy commented 4 years ago

Updated. Thanks Again :-)