mirror of
https://github.com/openshwprojects/OpenBK7231T_App.git
synced 2026-02-13 02:05:25 +00:00
Changed discovery to sent msg, fixed power check
This commit is contained in:
@ -9,7 +9,7 @@ function send_ha_disc() {
|
||||
);
|
||||
xhr.onload = function () {
|
||||
if (xhr.status === 200) {
|
||||
alert("MQTT discovery queued");
|
||||
alert(xhr.responseText);
|
||||
} else if (xhr.status === 404) {
|
||||
alert("Error invoking ha_discovery");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user