Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.emulated_hue.hue_api.HueFullStateView Class Reference
Inheritance diagram for homeassistant.components.emulated_hue.hue_api.HueFullStateView:
[legend]
Collaboration diagram for homeassistant.components.emulated_hue.hue_api.HueFullStateView:
[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:username:state"
 
bool requires_auth = False
 
string url = "/api/{username}"
 

Detailed Description

Return full state view of emulated hue.

Definition at line 249 of file hue_api.py.

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 256 of file hue_api.py.

Member Function Documentation

◆ get()

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

Definition at line 261 of file hue_api.py.

Member Data Documentation

◆ config

homeassistant.components.emulated_hue.hue_api.HueFullStateView.config

Definition at line 258 of file hue_api.py.

◆ name

string homeassistant.components.emulated_hue.hue_api.HueFullStateView.name = "emulated_hue:username:state"
static

Definition at line 253 of file hue_api.py.

◆ requires_auth

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

Definition at line 254 of file hue_api.py.

◆ url

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

Definition at line 252 of file hue_api.py.


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