Revert "Revert "Rebase from upstream""

This commit is contained in:
sibowler
2022-05-29 07:20:19 +10:00
committed by GitHub
parent 4f722a00df
commit 01a9fb6a48
23 changed files with 1316 additions and 116 deletions

View File

@@ -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):