Add config flow for Hue (#12830)
* Add config flow for Hue * Upgrade to aiohue 0.2 * Fix tests * Add tests * Add aiohue to test requirements * Bump aiohue dependency * Lint * Lint * Fix aiohttp mock * Lint * Fix tests
This commit is contained in:
parent
d06807c634
commit
67c49a7662
12 changed files with 389 additions and 65 deletions
|
@ -163,7 +163,7 @@ class ConfigManagerFlowResourceView(HomeAssistantView):
|
|||
hass = request.app['hass']
|
||||
|
||||
try:
|
||||
hass.config_entries.async_abort(flow_id)
|
||||
hass.config_entries.flow.async_abort(flow_id)
|
||||
except config_entries.UnknownFlow:
|
||||
return self.json_message('Invalid flow specified', 404)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue