REST API library

I was going to write a library to access the REST API of my irrigation controller. Is there a library that would work best with the home assistant architecture (ie sync vs async)?


Usually you are not going to process large amount of data on IoT devices which would lead to a blocked state. So, I think it’s fine to use a synchronous approach.

Home Assistant is using Requests for the REST sensors and switches.