diff --git a/custom_components/zwift/sensor.py b/custom_components/zwift/sensor.py index 4131b79..8221d06 100644 --- a/custom_components/zwift/sensor.py +++ b/custom_components/zwift/sensor.py @@ -338,6 +338,8 @@ def is_metric(self): return False async def _connect(self): + import os + os.environ['PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION'] = 'python' from zwift import Client as ZwiftClient client = ZwiftClient(self.username, self.password) if await self.check_zwift_auth(client):