JS interface improvements

This commit is contained in:
Yegor Vialov
2020-02-12 22:42:43 +00:00
parent 6695756727
commit 6e448d3458
5 changed files with 16 additions and 13 deletions

View File

@ -30,6 +30,6 @@ window.externalApp.externalBus = function(message) {
window.externalBus(responseData);
}, 500);
} else if (messageObj.type == "config_screen/show") {
window.location.href = "htcmd://show-settings";
HAClient.postMessage('show-settings');
}
};