diff --git a/custom_components/zwift/manifest.json b/custom_components/zwift/manifest.json index 71a99f7..0be89ed 100644 --- a/custom_components/zwift/manifest.json +++ b/custom_components/zwift/manifest.json @@ -4,7 +4,7 @@ "documentation": "https://github.com/snicker/zwift_hass/blob/master/README.md", "requirements": ["zwift-client==0.2.0"], "dependencies": [], - "version": "3.2.3", + "version": "3.2.4", "codeowners": ["@snicker"], "iot_class": "cloud_polling" } diff --git a/custom_components/zwift/sensor.py b/custom_components/zwift/sensor.py index 2c8b7cf..04590e9 100644 --- a/custom_components/zwift/sensor.py +++ b/custom_components/zwift/sensor.py @@ -296,7 +296,7 @@ def __init__(self, update_interval, username, password, players, hass): self.players = {} self._profile = None self.update_interval = update_interval - self.online_update_interval = timedelta(seconds=1) + self.online_update_interval = timedelta(seconds=2) if players: for player_id in players: self.add_tracked_player(player_id)