Improve sensor type hints in integrations (#90031)
* Improve sensor type hints in integrations * Improve
This commit is contained in:
parent
4836404288
commit
0e1c76f81f
8 changed files with 12 additions and 11 deletions
|
@ -568,7 +568,7 @@ class GTFSDepartureSensor(SensorEntity):
|
|||
return self._available
|
||||
|
||||
@property
|
||||
def extra_state_attributes(self) -> dict:
|
||||
def extra_state_attributes(self) -> dict[str, Any]:
|
||||
"""Return the state attributes."""
|
||||
return self._attributes
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue