Open amarnagi opened 2 years ago
same issue on the hotwater.
python3.10/site-packages/pyhiveapi/hotwater.py", line 154, in setBoostOn mins > 0 TypeError: '>' not supported between instances of 'str' and 'int'
Are you using the library with home assistant or on its own?
@KJonline on it's own
Describe the bug mins and temp data types cannot be used in comparsion ( i get an error) - mins is a str for example if mins > 0 and temp >= self.getMinTemperature(device):
Expected behavior I had to add this to fix it if int(mins) > 0 and int(temp) >= self.getMinTemperature(device): and if int(temp) <= self.getMaxTemperature(device):