perara / python-systemair-saveconnect

API bindings for the systemair-savecair web interface
MIT License
14 stars 4 forks source link

Bug: SaveConnectTemperature - set_temperature_offset register not subscriptable #11

Open thomabsk opened 1 year ago

thomabsk commented 1 year ago

The set temperature function seems to have some outdated code for getting min and max of a register.

      min_value = int(device.registry.REG_TC_SP.min / 10)
      max_value = int(device.registry.REG_TC_SP.max / 10)

Should be like the above I think.