Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.media_source.models.BrowseMediaSource Class Reference
Inheritance diagram for homeassistant.components.media_source.models.BrowseMediaSource:
[legend]
Collaboration diagram for homeassistant.components.media_source.models.BrowseMediaSource:
[legend]

Public Member Functions

None __init__ (self, *str|None domain, str|None identifier, **Any kwargs)
 
- Public Member Functions inherited from homeassistant.components.media_player.browse_media.BrowseMedia
None __init__ (self, *MediaClass|str media_class, str media_content_id, MediaType|str media_content_type, str title, bool can_play, bool can_expand, Sequence[BrowseMedia]|None children=None, MediaClass|str|None children_media_class=None, str|None thumbnail=None, int not_shown=0)
 
str __repr__ (self)
 
dict[str, Any] as_dict (self, *bool parent=True)
 
None calculate_children_class (self)
 

Public Attributes

 domain
 
 identifier
 
- Public Attributes inherited from homeassistant.components.media_player.browse_media.BrowseMedia
 can_expand
 
 can_play
 
 children
 
 children_media_class
 
 media_class
 
 media_content_id
 
 media_content_type
 
 not_shown
 
 thumbnail
 
 title
 

Detailed Description

Represent a browsable media file.

Definition at line 23 of file models.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.components.media_source.models.BrowseMediaSource.__init__ (   self,
*str | None  domain,
str | None  identifier,
**Any   kwargs 
)
Initialize media source browse media.

Definition at line 26 of file models.py.

Member Data Documentation

◆ domain

homeassistant.components.media_source.models.BrowseMediaSource.domain

Definition at line 36 of file models.py.

◆ identifier

homeassistant.components.media_source.models.BrowseMediaSource.identifier

Definition at line 37 of file models.py.


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