We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4443713 + 8e1c7ef commit e8529d3Copy full SHA for e8529d3
custom_components/localtuya/switch.py
@@ -48,7 +48,7 @@ def is_on(self):
48
return self._state
49
50
@property
51
- def device_state_attributes(self):
+ def extra_state_attributes(self):
52
"""Return device state attributes."""
53
attrs = {}
54
if self.has_config(CONF_CURRENT):
0 commit comments