From 5b7d296d0d78bbf4dda7e2c63e5647572dd0893e Mon Sep 17 00:00:00 2001 From: BenPru <32298537+BenPru@users.noreply.github.com> Date: Sat, 28 Sep 2024 23:13:27 +0200 Subject: [PATCH] Update base.py #245 #255 * Try fix warning 'StrEnum' --- custom_components/luxtronik/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/luxtronik/base.py b/custom_components/luxtronik/base.py index e0cb5bf..18849ea 100644 --- a/custom_components/luxtronik/base.py +++ b/custom_components/luxtronik/base.py @@ -4,8 +4,8 @@ from datetime import datetime from typing import Any +from enum import StrEnum -from homeassistant.backports.enum import StrEnum from homeassistant.components.sensor import RestoreSensor from homeassistant.components.water_heater import STATE_HEAT_PUMP from homeassistant.const import STATE_OFF, UnitOfTemperature, UnitOfTime