|
| string | name = "emulated_hue:light:state" |
| |
| bool | requires_auth = False |
| |
| string | url = "/api/{username}/lights/{entity_id}" |
| |
Handle requests for getting info about a single entity.
Definition at line 301 of file hue_api.py.
◆ __init__()
| None homeassistant.components.emulated_hue.hue_api.HueOneLightStateView.__init__ |
( |
|
self, |
|
|
Config |
config |
|
) |
| |
Initialize the instance of the view.
Definition at line 308 of file hue_api.py.
◆ get()
| web.Response homeassistant.components.emulated_hue.hue_api.HueOneLightStateView.get |
( |
|
self, |
|
|
web.Request |
request, |
|
|
str |
username, |
|
|
str |
entity_id |
|
) |
| |
Process a request to get the state of an individual light.
Definition at line 313 of file hue_api.py.
◆ config
| homeassistant.components.emulated_hue.hue_api.HueOneLightStateView.config |
◆ name
| string homeassistant.components.emulated_hue.hue_api.HueOneLightStateView.name = "emulated_hue:light:state" |
|
static |
◆ requires_auth
| bool homeassistant.components.emulated_hue.hue_api.HueOneLightStateView.requires_auth = False |
|
static |
◆ url
| string homeassistant.components.emulated_hue.hue_api.HueOneLightStateView.url = "/api/{username}/lights/{entity_id}" |
|
static |
The documentation for this class was generated from the following file:
- core/homeassistant/components/emulated_hue/hue_api.py