Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.frontend.Manifest Class Reference

Public Member Functions

Any __getitem__ (self, str key)
 
None __init__ (self, dict data)
 
str json (self)
 
None update_key (self, str key, str val)
 

Public Attributes

 manifest
 

Private Member Functions

None _serialize (self)
 

Private Attributes

 _serialized
 

Detailed Description

Manage the manifest.json contents.

Definition at line 132 of file __init__.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.components.frontend.Manifest.__init__ (   self,
dict  data 
)
Init the manifest manager.

Definition at line 135 of file __init__.py.

Member Function Documentation

◆ __getitem__()

Any homeassistant.components.frontend.Manifest.__getitem__ (   self,
str  key 
)
Return an item in the manifest.

Definition at line 140 of file __init__.py.

◆ _serialize()

None homeassistant.components.frontend.Manifest._serialize (   self)
private

Definition at line 149 of file __init__.py.

◆ json()

str homeassistant.components.frontend.Manifest.json (   self)
Return the serialized manifest.

Definition at line 145 of file __init__.py.

◆ update_key()

None homeassistant.components.frontend.Manifest.update_key (   self,
str  key,
str  val 
)
Add a keyval to the manifest.json.

Definition at line 152 of file __init__.py.

Member Data Documentation

◆ _serialized

homeassistant.components.frontend.Manifest._serialized
private

Definition at line 150 of file __init__.py.

◆ manifest

homeassistant.components.frontend.Manifest.manifest

Definition at line 137 of file __init__.py.


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