mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
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:
parent
f75b0a99d9
commit
eb1871dc5b
@ -191,6 +191,7 @@ class HueUsernameView(HomeAssistantView):
|
|||||||
|
|
||||||
url = '/api'
|
url = '/api'
|
||||||
name = 'hue:api'
|
name = 'hue:api'
|
||||||
|
extra_urls = ['/api/']
|
||||||
requires_auth = False
|
requires_auth = False
|
||||||
|
|
||||||
def __init__(self, hass):
|
def __init__(self, hass):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user