Allow pairing with Harmony Hub (#3467)

The real Hue hub responds to both `/api` and `/api/`. For greater
compatibility, the view now responds to both using `extra_urls`.
This commit is contained in:
Milas Bowman 2016-09-20 23:05:14 -04:00 committed by Paulus Schoutsen
parent f75b0a99d9
commit eb1871dc5b

View File

@ -191,6 +191,7 @@ class HueUsernameView(HomeAssistantView):
url = '/api'
name = 'hue:api'
extra_urls = ['/api/']
requires_auth = False
def __init__(self, hass):