mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-21 08:06:30 +00:00
fix json validate (#112)
This commit is contained in:
parent
dae49df7b1
commit
863456525f
@ -55,7 +55,7 @@ class APIAddons(object):
|
|||||||
dev_list = addon.devices
|
dev_list = addon.devices
|
||||||
if not dev_list:
|
if not dev_list:
|
||||||
return
|
return
|
||||||
return set(row.split(':')[0] for row in dev_list)
|
return [row.split(':')[0] for row in dev_list]
|
||||||
|
|
||||||
@api_process
|
@api_process
|
||||||
async def list(self, request):
|
async def list(self, request):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user