Add better HassJob typing for IntegrationPlatform process_job (#110896)

This commit is contained in:
Marc Mueller 2024-02-18 23:46:48 +01:00 committed by GitHub
parent 49e9c9dd48
commit 72ccc40c43
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -31,7 +31,7 @@ class IntegrationPlatform:
"""An integration platform."""
platform_name: str
process_job: HassJob
process_job: HassJob[[HomeAssistant, str, Any], Awaitable[None] | None]
seen_components: set[str]