Update integrations f-i to override extra_state_attributes() (#47757)
This commit is contained in:
parent
6c084ae6ce
commit
af4d06b12e
119 changed files with 165 additions and 165 deletions
|
@ -193,7 +193,7 @@ class FinTsAccount(Entity):
|
|||
return self._currency
|
||||
|
||||
@property
|
||||
def device_state_attributes(self) -> dict:
|
||||
def extra_state_attributes(self) -> dict:
|
||||
"""Additional attributes of the sensor."""
|
||||
attributes = {ATTR_ACCOUNT: self._account.iban, ATTR_ACCOUNT_TYPE: "balance"}
|
||||
if self._client.name:
|
||||
|
@ -238,7 +238,7 @@ class FinTsHoldingsAccount(Entity):
|
|||
return ICON
|
||||
|
||||
@property
|
||||
def device_state_attributes(self) -> dict:
|
||||
def extra_state_attributes(self) -> dict:
|
||||
"""Additional attributes of the sensor.
|
||||
|
||||
Lists each holding of the account with the current value.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue