Revert "Rebase from upstream"

This commit is contained in:
sibowler
2022-05-29 06:57:37 +10:00
committed by GitHub
parent 87d89733ab
commit 73be0c8a45
23 changed files with 115 additions and 1315 deletions

View File

@@ -48,7 +48,7 @@ class LocaltuyaSwitch(LocalTuyaEntity, SwitchEntity):
return self._state
@property
def extra_state_attributes(self):
def device_state_attributes(self):
"""Return device state attributes."""
attrs = {}
if self.has_config(CONF_CURRENT):