asantaga / wiserheatingapi

This is a simple python API for interacting with the wiser heating system
MIT License
24 stars 14 forks source link

Timeouts and Other Improvements #7

Closed msp1974 closed 4 years ago

msp1974 commented 4 years ago

Angelo,

I have added the timeout parameter to all requests.get and requests.patch calls. Also added some functions to convert between wiser temp and decimal temp and ensure integer - issue #4 . Have set temp to min temp when setting to manual if scheduled temp is below min (ie off) Some improvements to error logging also. Removed all values in functions to refer to constants for off, min, max. Provided a fix for issue #1 by only showing warning is room has no TRVs or RoomStats. KR Mark

asantaga commented 4 years ago

Merged

asantaga commented 4 years ago

All merged but I dont know why github still thinks it isnt merged.. but it is...... weird..

Thanks for the merge, closing

asantaga commented 4 years ago

I worked it out... :-) this way the network graph is true