|
| 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 pause intent. Records last paused media players.
Definition at line 110 of file intent.py.
◆ __init__()
| None homeassistant.components.media_player.intent.MediaPauseHandler.__init__ |
( |
|
self, |
|
|
LastPaused |
last_paused |
|
) |
| |
Initialize handler.
Definition at line 113 of file intent.py.
◆ async_handle_states()
| intent.IntentResponse homeassistant.components.media_player.intent.MediaPauseHandler.async_handle_states |
( |
|
self, |
|
|
intent.Intent |
intent_obj, |
|
|
intent.MatchTargetsResult |
match_result, |
|
|
intent.MatchTargetsConstraints |
match_constraints, |
|
|
intent.MatchTargetsPreferences | None |
match_preferences = None |
|
) |
| |
Record last paused media players.
Definition at line 128 of file intent.py.
◆ last_paused
| homeassistant.components.media_player.intent.MediaPauseHandler.last_paused |
The documentation for this class was generated from the following file:
- core/homeassistant/components/media_player/intent.py