Skip to content

Commit

Permalink
Aktualisieren von model.py
Browse files Browse the repository at this point in the history
  • Loading branch information
BenPru authored Dec 31, 2024
1 parent 04c7b6e commit 9e7f06c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions custom_components/luxtronik/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,7 @@ class LuxtronikClimateDescription(

def metaclass_resolver(*classes):
metaclass = tuple(set(type(cls) for cls in classes))
metaclass = metaclass[0] if len(metaclass)==1 \
else type("_".join(mcls.__name__ for mcls in metaclass), metaclass, {}) # class M_C
metaclass = metaclass[0] if len(metaclass)==1 else type("_".join(mcls.__name__ for mcls in metaclass), metaclass, {}) # class M_C
return metaclass("_".join(cls.__name__ for cls in classes), classes, {})

@dataclass
Expand Down

0 comments on commit 9e7f06c

Please sign in to comment.