Closed longlostnick closed 2 years ago
Looks good, thanks for the PR. Can you update the sample config.json in the Readme to include the field for multiple thermostats? Then I think we're good to merge.
Alright, updated. I also renamed thermostatIds
to thermostatSerialNumbers
because my original naming was bothering me 😆
Looks good. Thanks!
Adds support for multiple thermostats!
It’s really interesting that this didn’t just work out of the box given their documentation for the
registered
selection type says:I also did some testing and if there are no ids the
selectionType
needs to go back toregistered
otherwise it fails. Hence the conditional.