Upgrade to aiohttp 1.2 (#4964)

* Upgrade to aiohttp 1.2

* Clean up emulated_hue tests
This commit is contained in:
Paulus Schoutsen 2017-01-11 21:25:02 +01:00 committed by GitHub
parent 1cf9ae5a01
commit e68e29e03e
6 changed files with 316 additions and 330 deletions

View file

@ -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)