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

Public Member Functions

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

Public Attributes

 config
 

Static Public Attributes

list extra_urls = ["/api/config"]
 
string name = "emulated_hue:username:config"
 
bool requires_auth = False
 
string url = "/api/{username}/config"
 

Detailed Description

Return config view of emulated hue.

Definition at line 277 of file hue_api.py.

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 285 of file hue_api.py.

Member Function Documentation

◆ get()

web.Response homeassistant.components.emulated_hue.hue_api.HueConfigView.get (   self,
web.Request  request,
str   username = "" 
)
Process a request to get the configuration.

Definition at line 290 of file hue_api.py.

Member Data Documentation

◆ config

homeassistant.components.emulated_hue.hue_api.HueConfigView.config

Definition at line 287 of file hue_api.py.

◆ extra_urls

list homeassistant.components.emulated_hue.hue_api.HueConfigView.extra_urls = ["/api/config"]
static

Definition at line 281 of file hue_api.py.

◆ name

string homeassistant.components.emulated_hue.hue_api.HueConfigView.name = "emulated_hue:username:config"
static

Definition at line 282 of file hue_api.py.

◆ requires_auth

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

Definition at line 283 of file hue_api.py.

◆ url

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

Definition at line 280 of file hue_api.py.


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