homebridge-melcloud-control 2.5.0-beta.0 → 2.5.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,10 +7,10 @@
7
7
  <form id="configForm">
8
8
  <div class="text-center">
9
9
  <label id="accountName" style="font-size: 23px">Account Name</label><br>
10
- <label id="info" style="text-align: center; font-size: 17px;">MELCloud Account</label><br><br>
10
+ <label id="info" style="text-align: center; font-size: 17px;">MELCloud</label><br><br>
11
11
  </div>
12
12
  <div class="form-group">
13
- <label for="name">Account Name</label>
13
+ <label for="name">Name</label>
14
14
  <input id="name" type="text" class="form-control"><br>
15
15
  <label for="user">MELCloud User</label>
16
16
  <input id="user" type="text" class="form-control"><br>
@@ -57,11 +57,11 @@
57
57
  const setRemoveAtribute = j === i ? document.getElementById(`button${j}`).setAttribute("class", "btn btn-secondary") : document.getElementById(`button${j}`).setAttribute("class", "btn btn-primary");
58
58
  }
59
59
 
60
- document.getElementById('accountName').value = pluginConfig[0].accounts[i].name || '';
60
+ document.getElementById('accountName').innerHTML = pluginConfig[0].accounts[i].name || '';
61
61
  document.getElementById('name').value = pluginConfig[0].accounts[i].name || '';
62
62
  document.getElementById('user').value = pluginConfig[0].accounts[i].user || '';
63
63
  document.getElementById('passwd').value = pluginConfig[0].accounts[i].passwd || '';
64
- document.getElementById('lnguage').value = pluginConfig[0].accounts[i].language || '';
64
+ document.getElementById('language').value = pluginConfig[0].accounts[i].language || '';
65
65
 
66
66
  const accountConfigured = pluginConfig[0].accounts[i].name && pluginConfig[0].accounts[i].user && pluginConfig[0].accounts[i].passwd && pluginConfig[0].accounts[i].language;
67
67
  const setButtonName = accountConfigured ? document.getElementById('logIn').removeAttribute('disabled') : document.getElementById('logIn').setAttribute('disabled');
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "displayName": "MELCloud Control",
3
3
  "name": "homebridge-melcloud-control",
4
- "version": "2.5.0-beta.0",
4
+ "version": "2.5.0-beta.1",
5
5
  "description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
6
6
  "license": "MIT",
7
7
  "author": "grzegorz914",