Update integrations j-o to override extra_state_attributes() (#47758)

This commit is contained in:
Erik Montnemery 2021-03-11 20:11:25 +01:00 committed by GitHub
parent 1095905f8c
commit 14a59d290a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
110 changed files with 150 additions and 150 deletions

View file

@ -138,7 +138,7 @@ class AtaDeviceClimate(MelCloudClimate):
return self._name
@property
def device_state_attributes(self) -> Optional[Dict[str, Any]]:
def extra_state_attributes(self) -> Optional[Dict[str, Any]]:
"""Return the optional state attributes with device specific additions."""
attr = {}
@ -310,7 +310,7 @@ class AtwDeviceZoneClimate(MelCloudClimate):
return f"{self._name} {self._zone.name}"
@property
def device_state_attributes(self) -> Dict[str, Any]:
def extra_state_attributes(self) -> Dict[str, Any]:
"""Return the optional state attributes with device specific additions."""
data = {
ATTR_STATUS: ATW_ZONE_HVAC_MODE_LOOKUP.get(