home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
69.25k stars 28.47k forks source link

Replace meaningless TypeVar usage #117553

Closed cdce8p closed 2 weeks ago

cdce8p commented 2 weeks ago

Proposed change

The method _execute_service doesn't bind the _R TypeVar. Thus for each cast call it would just be inferred as Any.

Type of change

Additional information

Checklist

If user exposed functionality or configuration variables are added/changed:

If the code communicates with devices, web services, or third-party tools:

To help with the load of incoming pull requests: