homebridge-melcloud-control 4.0.0-beta.44 → 4.0.0-beta.45

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.
@@ -86,11 +86,11 @@
86
86
  </div>
87
87
 
88
88
  <div class="text-center">
89
- <button id="logIn" type="button" class="btn btn-secondary">Connect to MELCloud</button>
89
+ <button id="logIn" type="button" class="btn btn-secondary">Log In</button>
90
90
  <button id="configButton" type="button" class="btn btn-secondary"><i class="fas fa-gear"></i></button>
91
91
  </div>
92
92
  </form>
93
- <div id="accountButton" class="mt-2"></div>
93
+ <div id="accountButton" class="text-center mt-2"></div>
94
94
  </div>
95
95
  </div>
96
96
 
@@ -126,8 +126,8 @@
126
126
  document.getElementById('name').value = acc.name || '';
127
127
  document.getElementById('user').value = acc.user || '';
128
128
  document.getElementById('passwd').value = acc.passwd || '';
129
- document.getElementById('language').value = acc.language || '';
130
- document.getElementById('displayType').value = acc.displayType || '';
129
+ document.getElementById('language').value = acc.language || '0';
130
+ document.getElementById('displayType').value = acc.displayType || 'disabled';
131
131
  document.getElementById('logIn').disabled = !(acc.name && acc.user && acc.passwd && acc.language && acc.displayType);
132
132
  this.deviceIndex = i;
133
133
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "displayName": "MELCloud Control",
3
3
  "name": "homebridge-melcloud-control",
4
- "version": "4.0.0-beta.44",
4
+ "version": "4.0.0-beta.45",
5
5
  "description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
6
6
  "license": "MIT",
7
7
  "author": "grzegorz914",