This is the last sync version of this library. It has become too complex to keep both API types in the same codebase. The client samples have been updated and HA integration uses the async version.
If there are any other clients of this still using the sync version, this is the last version that I will be updating. Most of the recent work was on the async API but you might still be able to salvage some recent updates if you have a sync fork still going.