Skip to content

Commit 04c1ab7

Browse files
committed
fix outdoor high variable
1 parent 1a184d8 commit 04c1ab7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

custom_components/adaptive_cover/calculation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ def outside_high(self) -> bool:
306306
def is_summer(self) -> bool:
307307
"""Check if temperature is over threshold."""
308308
if self.temp_high is not None and self.get_current_temperature is not None:
309-
return self.get_current_temperature > self.temp_high and self.outdoor_high
309+
return self.get_current_temperature > self.temp_high and self.outside_high
310310
return False
311311

312312
@property

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ classifiers = [
55
"Framework :: AsyncIO",
66
"Intended Audience :: Developers",
77
"Natural Language :: English",
8-
"Programming Language :: Python :: 3.11",
8+
"Programming Language :: Python :: 3.12",
99
"Programming Language :: Python :: 3",
1010
]
1111
description = "Adaptive Cover"

0 commit comments

Comments
 (0)