mirror of
https://github.com/home-assistant/core.git
synced 2026-12-02 19:57:03 -04:00
Fix media player search intent response type (#191524)
This commit is contained in:
@@ -367,7 +367,7 @@ class MediaSearchAndPlayHandler(intent.IntentHandler):
|
||||
not search_response
|
||||
or not (
|
||||
entity_response := cast(
|
||||
SearchMedia, search_response.get(target_entity_id)
|
||||
SearchMedia | None, search_response.get(target_entity_id)
|
||||
)
|
||||
)
|
||||
or not (results := entity_response.result)
|
||||
|
||||
Reference in New Issue
Block a user