asantaga / wiserheatingapi

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

wiserheatingapi error #12

Closed HWO365manager closed 4 years ago

HWO365manager commented 4 years ago

Running wiserapitest.py I get an error. Here is the relevant part of the error report:- ......\wiserHeatingAPI\wiserHub.py", line 323, in getRoomSchedule scheduleId = self.getRoom(roomId).get("ScheduleId") AttributeError: 'NoneType' object has no attribute 'get'

I am running Drayton Wiser Hub API v 1.0.5 with Python 3.8.1 in Win 10 Version 10.0.18363.592

asantaga commented 4 years ago

fixed in 1.0.5.1,

in the code I assume you had at least 4 rooms, it now assumes 1 room .