Fix wolflink super call (#55359)

This commit is contained in:
Paulus Schoutsen
2021-08-27 14:59:28 -07:00
parent d96e416d26
commit a275e7aa67

View File

@@ -148,7 +148,7 @@ class WolfLinkState(WolfLinkSensor):
@property @property
def native_value(self): def native_value(self):
"""Return the state converting with supported values.""" """Return the state converting with supported values."""
state = super().state state = super().native_value
resolved_state = [ resolved_state = [
item for item in self.wolf_object.items if item.value == int(state) item for item in self.wolf_object.items if item.value == int(state)
] ]