1
0
mirror of https://github.com/home-assistant/supervisor.git synced 2025-12-24 12:29:08 +00:00

Allow event stream over api proxy (#285)

* Allow event stream over api proxy

* fix lint

* fix lint

* cleanup code

* fix bug

* fix prepare

* Fix stream bug

* fix api request
This commit is contained in:
Pascal Vizeli
2017-12-24 15:04:16 +01:00
committed by GitHub
parent 63d82ce03e
commit d7df423deb
9 changed files with 58 additions and 19 deletions

View File

@@ -57,7 +57,7 @@ class APIAddons(object):
"""Return a simplified device list."""
dev_list = addon.devices
if not dev_list:
return
return None
return [row.split(':')[0] for row in dev_list]
@api_process