Skip to content

Commit

Permalink
Update hvac.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Noltari committed Oct 25, 2023
1 parent 32bb9f3 commit 779d404
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sim/hvac.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def check_zone(self, system_id: int, zone_id: int) -> bool:

def hvac_response(self, system_id: int, zone_id: int, hvac_data: list[dict[str, Any]]) -> Any:
"""Return HVAC data."""
if len(list) == 0:
if len(hvac_data) == 0:
if not self.check_system(system_id):
return api_json_error(API_ERROR_SYSTEM_ID_NOT_AVAILABLE)
if not self.check_zone(system_id, zone_id):
Expand Down

0 comments on commit 779d404

Please sign in to comment.