mirror of
https://github.com/home-assistant/core.git
synced 2025-11-08 10:29:27 +00:00
Improve sensor type hints in integrations (#90031)
* Improve sensor type hints in integrations * Improve
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user