mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 16:57:53 +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'
|
||||
name = 'hue:api'
|
||||
extra_urls = ['/api/']
|
||||
requires_auth = False
|
||||
|
||||
def __init__(self, hass):
|
||||
|
Loading…
x
Reference in New Issue
Block a user