|
| string | name = "emulated_hue:light:state" |
| |
| bool | requires_auth = False |
| |
| string | url = "/api/{username}/lights/{entity_number}/state" |
| |
Handle requests for setting info about entities.
Definition at line 342 of file hue_api.py.
◆ __init__()
| None homeassistant.components.emulated_hue.hue_api.HueOneLightChangeView.__init__ |
( |
|
self, |
|
|
Config |
config |
|
) |
| |
Initialize the instance of the view.
Definition at line 349 of file hue_api.py.
◆ put()
| web.Response homeassistant.components.emulated_hue.hue_api.HueOneLightChangeView.put |
( |
|
self, |
|
|
web.Request |
request, |
|
|
str |
username, |
|
|
str
|
entity_number |
|
) |
| |
Process a request to set the state of an individual light.
Definition at line 353 of file hue_api.py.
◆ config
| homeassistant.components.emulated_hue.hue_api.HueOneLightChangeView.config |
◆ name
| string homeassistant.components.emulated_hue.hue_api.HueOneLightChangeView.name = "emulated_hue:light:state" |
|
static |
◆ requires_auth
| bool homeassistant.components.emulated_hue.hue_api.HueOneLightChangeView.requires_auth = False |
|
static |
◆ url
| string homeassistant.components.emulated_hue.hue_api.HueOneLightChangeView.url = "/api/{username}/lights/{entity_number}/state" |
|
static |
The documentation for this class was generated from the following file:
- core/homeassistant/components/emulated_hue/hue_api.py