From 04c1ab703c1be23d49248f4f335d17f95d2c66a0 Mon Sep 17 00:00:00 2001 From: basbruss <68892092+basbruss@users.noreply.github.com> Date: Thu, 1 Aug 2024 15:48:53 +0200 Subject: [PATCH] fix outdoor high variable --- custom_components/adaptive_cover/calculation.py | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/custom_components/adaptive_cover/calculation.py b/custom_components/adaptive_cover/calculation.py index 8ddb878..4acdaf0 100644 --- a/custom_components/adaptive_cover/calculation.py +++ b/custom_components/adaptive_cover/calculation.py @@ -306,7 +306,7 @@ def outside_high(self) -> bool: def is_summer(self) -> bool: """Check if temperature is over threshold.""" if self.temp_high is not None and self.get_current_temperature is not None: - return self.get_current_temperature > self.temp_high and self.outdoor_high + return self.get_current_temperature > self.temp_high and self.outside_high return False @property diff --git a/pyproject.toml b/pyproject.toml index 40fe299..cf56f3f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ classifiers = [ "Framework :: AsyncIO", "Intended Audience :: Developers", "Natural Language :: English", - "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3", ] description = "Adaptive Cover"