Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.emulated_hue.hue_api.HueAllLightsStateView Class Reference
Inheritance diagram for homeassistant.components.emulated_hue.hue_api.HueAllLightsStateView:
[legend]
Collaboration diagram for homeassistant.components.emulated_hue.hue_api.HueAllLightsStateView:
[legend]

Public Member Functions

None __init__ (self, Config config)
 
web.Response get (self, web.Request request, str username)
 

Public Attributes

 config
 

Static Public Attributes

string name = "emulated_hue:lights:state"
 
bool requires_auth = False
 
string url = "/api/{username}/lights"
 

Detailed Description

Handle requests for getting info about all entities.

Definition at line 228 of file hue_api.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.components.emulated_hue.hue_api.HueAllLightsStateView.__init__ (   self,
Config  config 
)
Initialize the instance of the view.

Definition at line 235 of file hue_api.py.

Member Function Documentation

◆ get()

web.Response homeassistant.components.emulated_hue.hue_api.HueAllLightsStateView.get (   self,
web.Request  request,
str  username 
)
Process a request to get the list of available lights.

Definition at line 240 of file hue_api.py.

Member Data Documentation

◆ config

homeassistant.components.emulated_hue.hue_api.HueAllLightsStateView.config

Definition at line 237 of file hue_api.py.

◆ name

string homeassistant.components.emulated_hue.hue_api.HueAllLightsStateView.name = "emulated_hue:lights:state"
static

Definition at line 232 of file hue_api.py.

◆ requires_auth

bool homeassistant.components.emulated_hue.hue_api.HueAllLightsStateView.requires_auth = False
static

Definition at line 233 of file hue_api.py.

◆ url

string homeassistant.components.emulated_hue.hue_api.HueAllLightsStateView.url = "/api/{username}/lights"
static

Definition at line 231 of file hue_api.py.


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