Skip to content
Snippets Groups Projects
Unverified Commit e8529d39 authored by rospogrigio's avatar rospogrigio Committed by GitHub
Browse files

Merge pull request #663 from jsBlackBelt/master

fix deprecated device_state_attributes
parents 4443713d 8e1c7ef7
Branches
Tags v3.3.0
No related merge requests found
......@@ -48,7 +48,7 @@ class LocaltuyaSwitch(LocalTuyaEntity, SwitchEntity):
return self._state
@property
def device_state_attributes(self):
def extra_state_attributes(self):
"""Return device state attributes."""
attrs = {}
if self.has_config(CONF_CURRENT):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment