Upgrade to aiohttp 1.2 (#4964)
* Upgrade to aiohttp 1.2 * Clean up emulated_hue tests
This commit is contained in:
parent
1cf9ae5a01
commit
e68e29e03e
6 changed files with 316 additions and 330 deletions
|
@ -91,7 +91,7 @@ class HueOneLightStateView(HomeAssistantView):
|
|||
self.config = config
|
||||
|
||||
@core.callback
|
||||
def get(self, request, username, entity_id=None):
|
||||
def get(self, request, username, entity_id):
|
||||
"""Process a request to get the state of an individual light."""
|
||||
hass = request.app['hass']
|
||||
entity_id = self.config.number_to_entity_id(entity_id)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue