|
| None | __init__ (self, LastPaused last_paused) |
| |
| intent.IntentResponse | async_handle_states (self, intent.Intent intent_obj, intent.MatchTargetsResult match_result, intent.MatchTargetsConstraints match_constraints, intent.MatchTargetsPreferences|None match_preferences=None) |
| |
Handler for unpause/resume intent. Uses last paused media players.
Definition at line 147 of file intent.py.
◆ __init__()
| None homeassistant.components.media_player.intent.MediaUnpauseHandler.__init__ |
( |
|
self, |
|
|
LastPaused |
last_paused |
|
) |
| |
Initialize handler.
Definition at line 150 of file intent.py.
◆ async_handle_states()
| intent.IntentResponse homeassistant.components.media_player.intent.MediaUnpauseHandler.async_handle_states |
( |
|
self, |
|
|
intent.Intent |
intent_obj, |
|
|
intent.MatchTargetsResult |
match_result, |
|
|
intent.MatchTargetsConstraints |
match_constraints, |
|
|
intent.MatchTargetsPreferences | None |
match_preferences = None |
|
) |
| |
Unpause last paused media players.
Definition at line 164 of file intent.py.
◆ last_paused
| homeassistant.components.media_player.intent.MediaUnpauseHandler.last_paused |
The documentation for this class was generated from the following file:
- core/homeassistant/components/media_player/intent.py