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

Public Member Functions

web.Response post (self, web.Request request)
 

Static Public Attributes

list extra_urls = ["/api/"]
 
string name = "emulated_hue:api:create_username"
 
bool requires_auth = False
 
string url = "/api"
 

Detailed Description

Handle requests to create a username for the emulated hue bridge.

Definition at line 151 of file hue_api.py.

Member Function Documentation

◆ post()

web.Response homeassistant.components.emulated_hue.hue_api.HueUsernameView.post (   self,
web.Request  request 
)
Handle a POST request.

Definition at line 159 of file hue_api.py.

Member Data Documentation

◆ extra_urls

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

Definition at line 156 of file hue_api.py.

◆ name

string homeassistant.components.emulated_hue.hue_api.HueUsernameView.name = "emulated_hue:api:create_username"
static

Definition at line 155 of file hue_api.py.

◆ requires_auth

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

Definition at line 157 of file hue_api.py.

◆ url

string homeassistant.components.emulated_hue.hue_api.HueUsernameView.url = "/api"
static

Definition at line 154 of file hue_api.py.


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