You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"""Consume an API response into the local object"""
@@ -98,6 +98,8 @@ def get_volume(self):
98
98
ifself.connected_zones:
99
99
total_vol_f=sum([zone["vol_f"] forzoneinself.connected_zones]) # Note that accounting for the vol_f overflow variables here would make it impossible to use those overflows while also using this volume bar
100
100
returnround(total_vol_f/len(self.connected_zones), 2) # Round down to 2 decimals to assist with float accuracy
101
+
else:
102
+
logger.warning("Could not find any associated zones")
0 commit comments