added error message when script without a name is found

This commit is contained in:
tomaae 2019-12-09 00:17:49 +01:00
parent 58ef81d840
commit 6ff53266f0

View file

@ -478,6 +478,7 @@ class MikrotikControllerData():
continue
if not entry['name']:
_LOGGER.error("Mikrotik %s found a script without a name. It will not be available in UI.")
continue
uid = entry['name']