From: Vincent Date: Thu, 20 May 2021 06:54:25 +0000 (+0200) Subject: . X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=442f6cd3c7a86d385e93c260bfc4a4a61b74add6;p=tortuga-home.git . --- diff --git a/.idea/workspace.xml b/.idea/workspace.xml index d544e23..2927002 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -3,8 +3,6 @@ - - diff --git a/js/home.js b/js/home.js index 0525f0a..4d1574c 100644 --- a/js/home.js +++ b/js/home.js @@ -414,7 +414,7 @@ $(function () { }); function checkPower() { - $.ajax('scripts/getstate.php?key=' + CONFIG.ROOM + '_power&default=0', function (data) { + $.ajax('scripts/state.php?key=' + CONFIG.ROOM + '_power&default=0', function (data) { power = (data == 1); }); }