From eb1871dc5b9f96ad976676d1a900fc5603bacfbe Mon Sep 17 00:00:00 2001 From: Milas Bowman Date: Tue, 20 Sep 2016 23:05:14 -0400 Subject: [PATCH] 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`. --- homeassistant/components/emulated_hue.py | 1 + 1 file changed, 1 insertion(+) diff --git a/homeassistant/components/emulated_hue.py b/homeassistant/components/emulated_hue.py index 9f145efecc5..a572e84b3c3 100755 --- a/homeassistant/components/emulated_hue.py +++ b/homeassistant/components/emulated_hue.py @@ -191,6 +191,7 @@ class HueUsernameView(HomeAssistantView): url = '/api' name = 'hue:api' + extra_urls = ['/api/'] requires_auth = False def __init__(self, hass):