Skip to content

Commit

Permalink
Fixed missing global directive
Browse files Browse the repository at this point in the history
  • Loading branch information
sockless-coding committed Jan 6, 2025
1 parent e83ea9c commit e3e5051
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions custom_components/panasonic_cc/pcomfortcloud/apiclient.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@

def get_current_time_zone():
global _current_time_zone
global _current_time_zone_date
today_date = datetime.now().date()
if _current_time_zone is not None and today_date == _current_time_zone_date:
return _current_time_zone
Expand Down

0 comments on commit e3e5051

Please sign in to comment.