Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.generic.config_flow.CameraImagePreview Class Reference
Inheritance diagram for homeassistant.components.generic.config_flow.CameraImagePreview:
[legend]
Collaboration diagram for homeassistant.components.generic.config_flow.CameraImagePreview:
[legend]

Public Member Functions

None __init__ (self, HomeAssistant hass)
 
web.Response get (self, web.Request request, str flow_id)
 

Public Attributes

 hass
 

Static Public Attributes

string name = "api:generic:preview_flow_image"
 
bool requires_auth = False
 
string url = "/api/generic/preview_flow_image/{flow_id}"
 

Detailed Description

Camera view to temporarily serve an image.

Definition at line 487 of file config_flow.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.components.generic.config_flow.CameraImagePreview.__init__ (   self,
HomeAssistant  hass 
)
Initialise.

Definition at line 494 of file config_flow.py.

Member Function Documentation

◆ get()

web.Response homeassistant.components.generic.config_flow.CameraImagePreview.get (   self,
web.Request  request,
str  flow_id 
)
Start a GET request.

Definition at line 498 of file config_flow.py.

Member Data Documentation

◆ hass

homeassistant.components.generic.config_flow.CameraImagePreview.hass

Definition at line 496 of file config_flow.py.

◆ name

string homeassistant.components.generic.config_flow.CameraImagePreview.name = "api:generic:preview_flow_image"
static

Definition at line 491 of file config_flow.py.

◆ requires_auth

bool homeassistant.components.generic.config_flow.CameraImagePreview.requires_auth = False
static

Definition at line 492 of file config_flow.py.

◆ url

string homeassistant.components.generic.config_flow.CameraImagePreview.url = "/api/generic/preview_flow_image/{flow_id}"
static

Definition at line 490 of file config_flow.py.


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