asantaga / wiserheatingapi

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

get/set/copy schedules for all device types #24

Closed msp1974 closed 3 years ago

msp1974 commented 4 years ago

Angelo, this is some changes to the api to allow get/set and copy of schedules by id to support changes in the integration to fix issue #80 - hot water schedule editing support. It will also work for smartplugs too.

I found a neat way to work with all device types with just the one set of services. The update for Hass integration is in the dev branch but it needs this version of the api to work.

Should also say that I have left the original setRoomSchedule, getRoomSchedule etc functions in place for backward compatibility.

msp1974 commented 4 years ago

If you get a chance this week, can you look at this and merge into a new release.

asantaga commented 3 years ago

Done!