Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.media_player.intent.MediaPauseHandler Class Reference
Inheritance diagram for homeassistant.components.media_player.intent.MediaPauseHandler:
[legend]
Collaboration diagram for homeassistant.components.media_player.intent.MediaPauseHandler:
[legend]

Public Member Functions

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)
 

Public Attributes

 last_paused
 

Detailed Description

Handler for pause intent. Records last paused media players.

Definition at line 110 of file intent.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.components.media_player.intent.MediaPauseHandler.__init__ (   self,
LastPaused  last_paused 
)
Initialize handler.

Definition at line 113 of file intent.py.

Member Function Documentation

◆ 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.

Member Data Documentation

◆ last_paused

homeassistant.components.media_player.intent.MediaPauseHandler.last_paused

Definition at line 126 of file intent.py.


The documentation for this class was generated from the following file: