Improve sensor type hints in integrations (#90031)

* Improve sensor type hints in integrations

* Improve
This commit is contained in:
epenet
2023-03-21 11:39:42 +01:00
committed by GitHub
parent 4836404288
commit 0e1c76f81f
8 changed files with 12 additions and 11 deletions

View File

@@ -272,7 +272,7 @@ class FinTsHoldingsAccount(SensorEntity):
self._attr_native_value = sum(h.total_value for h in self._holdings)
@property
def extra_state_attributes(self) -> dict:
def extra_state_attributes(self) -> dict[str, Any]:
"""Additional attributes of the sensor.
Lists each holding of the account with the current value.