Alexwijn / SAT

The Smart Autotune Thermostat (SAT) is a custom component for Home Assistant that works with an OpenTherm Gateway (OTGW).
GNU General Public License v3.0
43 stars 8 forks source link

Fix possible division by 0 #1

Closed NameLessJedi closed 1 year ago

NameLessJedi commented 1 year ago

This should fix division by 0 when boiler sends some odd data

Alexwijn commented 1 year ago

Thanks for your contribution! But I'm in the progress of reworking this. At the moment it's not very reliable since I'm unable to read all settings.

I changed my boiler settings to have a lower minimum and maximum capacity, but I don't see anything about that back in the data we receive from the gateway.

I'll keep you posted.

Alexwijn commented 1 year ago

Should be already fixed by the latest version so I'm closing this.