mirror of
https://github.com/home-assistant/core.git
synced 2025-08-06 14:15:12 +02:00
Fix wolflink super call (#55359)
This commit is contained in:
@@ -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)
|
||||||
]
|
]
|
||||||
|
Reference in New Issue
Block a user