Skip to content

Commit 2879b81

Browse files
committed
Try 2
1 parent 01405f5 commit 2879b81

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

plugwise/constants.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@
33
from __future__ import annotations
44

55
from collections import namedtuple
6+
from dataclasses import dataclass
67
import logging
78
from typing import Final, Literal, TypedDict, get_args
89

9-
from plugwise.devices import (
10+
from .devices import (
1011
AdamGateway,
1112
AnnaAdamData,
1213
AnnaData,
@@ -533,6 +534,7 @@ class ActuatorData(TypedDict, total=False):
533534
upper_bound: float
534535

535536

537+
@dataclass
536538
class GwEntityData(
537539
AdamGateway,
538540
AnnaAdamData,
@@ -544,7 +546,7 @@ class GwEntityData(
544546
SmartEnergyLegacySensors,
545547
SmartEnergyMeter,
546548
SmileP1Gateway,
547-
SmileThermostatGateway,
549+
#SmileThermostatGateway,
548550
StretchGateway,
549551
ThermoZone,
550552
):

0 commit comments

Comments
 (0)