Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.media_player.intent.MediaUnpauseHandler Class Reference
Inheritance diagram for homeassistant.components.media_player.intent.MediaUnpauseHandler:
[legend]
Collaboration diagram for homeassistant.components.media_player.intent.MediaUnpauseHandler:
[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 unpause/resume intent. Uses last paused media players.

Definition at line 147 of file intent.py.

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 150 of file intent.py.

Member Function Documentation

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

Member Data Documentation

◆ last_paused

homeassistant.components.media_player.intent.MediaUnpauseHandler.last_paused

Definition at line 162 of file intent.py.


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