home assistant v0.4.323

This commit is contained in:
e2002
2022-03-09 17:22:00 +03:00
parent 0778a4a821
commit 2c0c44aad9
2 changed files with 3 additions and 2 deletions

View File

@@ -5,5 +5,5 @@
"dependencies": ["http", "mqtt"], "dependencies": ["http", "mqtt"],
"codeowners": ["@e2002"], "codeowners": ["@e2002"],
"requirements": [], "requirements": [],
"version": "0.4.322" "version": "0.4.323"
} }

View File

@@ -8,7 +8,7 @@ from homeassistant.helpers.aiohttp_client import async_get_clientsession
_LOGGER = logging.getLogger(__name__) _LOGGER = logging.getLogger(__name__)
VERSION = '0.4.322' VERSION = '0.4.323'
DOMAIN = "yoradio" DOMAIN = "yoradio"
@@ -88,6 +88,7 @@ class yoradioApi():
else: else:
file = file.split('\n') file = file.split('\n')
counter = 1 counter = 1
YORADIO_SOURCE_TYPE.clear()
for line in file: for line in file:
res = line.split('\t') res = line.split('\t')
station = str(counter) + '. ' + res[0] station = str(counter) + '. ' + res[0]