* fix start issue

This commit is contained in:
Ingo Fischer
2021-08-23 00:34:45 +02:00
parent d7adbddcc0
commit 5795c78ea4
5 changed files with 28 additions and 7 deletions
+5
View File
@@ -62,6 +62,11 @@ function startAdapter(options) {
return adapter;
}
function stop(callback) {
hass && hass.close();
callback && callback();
}
function getUnit(name) {
name = name.toLowerCase();
if (name.indexOf('temperature') !== -1) {