iobroker.panasonic-comfort-cloud 2.2.2 → 2.2.3

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iobroker.panasonic-comfort-cloud",
3
- "version": "2.2.2",
3
+ "version": "2.2.3",
4
4
  "description": "Adapter for Panasonic Comfort Cloud",
5
5
  "author": {
6
6
  "name": "marc",
@@ -16,40 +16,42 @@
16
16
  "url": "https://github.com/marc2016/ioBroker.panasonic-comfort-cloud"
17
17
  },
18
18
  "dependencies": {
19
- "@iobroker/adapter-core": "^2.6.8",
20
- "@types/lodash": "^4.14.192",
19
+ "@iobroker/adapter-core": "^3.0.3",
20
+ "@types/lodash": "^4.14.199",
21
21
  "lodash": "^4.17.21",
22
22
  "panasonic-comfort-cloud-client": "1.2.5",
23
23
  "ts-enum-util": "^4.0.2"
24
24
  },
25
25
  "devDependencies": {
26
26
  "@alcalzone/release-script": "^3.6.0",
27
+ "@alcalzone/release-script-plugin-iobroker": "^3.6.0",
28
+ "@alcalzone/release-script-plugin-license": "^3.5.9",
27
29
  "@iobroker/adapter-dev": "^1.2.0",
28
30
  "@iobroker/testing": "^4.1.0",
29
- "@tsconfig/node14": "^1.0.3",
30
- "@types/chai": "^4.3.4",
31
- "@types/chai-as-promised": "^7.1.5",
32
- "@types/gulp": "^4.0.10",
33
- "@types/mocha": "^10.0.1",
34
- "@types/node": "^18.15.11",
35
- "@types/proxyquire": "^1.3.28",
36
- "@types/sinon": "^10.0.13",
37
- "@types/sinon-chai": "^3.2.9",
38
- "@typescript-eslint/eslint-plugin": "^5.57.1",
39
- "@typescript-eslint/parser": "^5.57.1",
40
- "axios": "^1.3.5",
41
- "chai": "^4.3.7",
31
+ "@tsconfig/node14": "^14.1.0",
32
+ "@types/chai": "^4.3.6",
33
+ "@types/chai-as-promised": "^7.1.6",
34
+ "@types/gulp": "^4.0.14",
35
+ "@types/mocha": "^10.0.2",
36
+ "@types/node": "^20.8.3",
37
+ "@types/proxyquire": "^1.3.29",
38
+ "@types/sinon": "^10.0.19",
39
+ "@types/sinon-chai": "^3.2.10",
40
+ "@typescript-eslint/eslint-plugin": "^6.7.4",
41
+ "@typescript-eslint/parser": "^6.7.4",
42
+ "axios": "^1.5.1",
43
+ "chai": "^4.3.10",
42
44
  "chai-as-promised": "^7.1.1",
43
- "eslint": "^8.38.0",
45
+ "eslint": "^8.51.0",
44
46
  "gulp": "^4.0.2",
45
47
  "mocha": "^10.2.0",
46
48
  "proxyquire": "^2.1.3",
47
- "rimraf": "^4.4.1",
48
- "sinon": "^15.0.3",
49
+ "rimraf": "^5.0.5",
50
+ "sinon": "^16.1.0",
49
51
  "sinon-chai": "^3.7.0",
50
52
  "source-map-support": "^0.5.21",
51
53
  "ts-node": "^10.9.1",
52
- "typescript": "^5.0.4"
54
+ "typescript": "^5.2.2"
53
55
  },
54
56
  "main": "build/main.js",
55
57
  "files": [
@@ -1,130 +0,0 @@
1
- <html>
2
- <head>
3
- <!-- Load ioBroker scripts and styles-->
4
- <link rel="stylesheet" type="text/css" href="../../css/adapter.css" />
5
- <link rel="stylesheet" type="text/css" href="../../lib/css/materialize.css" />
6
-
7
- <script type="text/javascript" src="../../lib/js/jquery-3.2.1.min.js"></script>
8
- <script type="text/javascript" src="../../socket.io/socket.io.js"></script>
9
-
10
- <script type="text/javascript" src="../../js/translate.js"></script>
11
- <script type="text/javascript" src="../../lib/js/materialize.js"></script>
12
- <script type="text/javascript" src="../../js/adapter-settings.js"></script>
13
-
14
- <!-- Load our own files -->
15
- <link rel="stylesheet" type="text/css" href="style.css" />
16
- <script type="text/javascript" src="words.js"></script>
17
-
18
- <script type="text/javascript">
19
- // This will be called by the admin adapter when the settings page loads
20
- function load(settings, onChange) {
21
- // example: select elements with id=key and class=value and insert value
22
- if (!settings) return;
23
- $('.value').each(function () {
24
- var $key = $(this);
25
- var id = $key.attr('id');
26
- if ($key.attr('type') === 'checkbox') {
27
- // do not call onChange direct, because onChange could expect some arguments
28
- $key.prop('checked', settings[id]).on('change', () => onChange());
29
- } else {
30
- // do not call onChange direct, because onChange could expect some arguments
31
- $key.val(settings[id])
32
- .on('change', () => onChange())
33
- .on('keyup', () => onChange());
34
- }
35
- });
36
- onChange(false);
37
- // reinitialize all the Materialize labels on the page if you are dynamically adding inputs:
38
- if (M) M.updateTextFields();
39
- }
40
-
41
- // This will be called by the admin adapter when the user presses the save button
42
- function save(callback) {
43
- // example: select elements with class=value and build settings object
44
- var obj = {};
45
- $('.value').each(function () {
46
- var $this = $(this);
47
- if ($this.attr('type') === 'checkbox') {
48
- obj[$this.attr('id')] = $this.prop('checked');
49
- } else if ($this.attr('type') === 'number') {
50
- obj[$this.attr('id')] = parseFloat($this.val());
51
- } else {
52
- obj[$this.attr('id')] = $this.val();
53
- }
54
- });
55
- callback(obj);
56
- }
57
- </script>
58
- </head>
59
-
60
- <body>
61
- <div class="m adapter-container">
62
- <div class="row">
63
- <div class="col s12 m4 l2">
64
- <img src="panasonic-comfort-cloud.png" class="logo" />
65
- </div>
66
- </div>
67
-
68
- <!-- Put your content here -->
69
-
70
- <!-- For example columns with settings: -->
71
- <div class="row">
72
- <div class="col s6 input-field">
73
- <input type="email" class="value" id="username" />
74
- <label for="username" class="translate">username</label>
75
- </div>
76
- </div>
77
- <div class="row">
78
- <div class="col s6 input-field">
79
- <input type="password" class="value" id="password" />
80
- <label for="password" class="translate">password</label>
81
- </div>
82
- </div>
83
- <div class="row">
84
- <div class="col s6 input-field">
85
- <input
86
- placeholder="5"
87
- name="refreshInterval"
88
- type="number"
89
- id="refreshInterval"
90
- class="value validate"
91
- />
92
- <label for="refreshInterval" class="translate">refreshInterval</label>
93
- </div>
94
- </div>
95
- <div class="row">
96
- <div class="col s4 input-field">
97
- <input
98
- placeholder=""
99
- name="appVersion"
100
- type="text"
101
- id="appVersion"
102
- class="value validate"
103
- />
104
- <label for="appVersion" class="translate">appversion</label>
105
- </div>
106
- <div class="col s4 input-field">
107
- <input
108
- placeholder=""
109
- name="appVersionFromGithub"
110
- type="text"
111
- id="appVersionFromGithub"
112
- class="value validate"
113
- disabled
114
- />
115
- <label for="appVersionFromGithub" class="translate">appVersionFromGithub</label>
116
- </div>
117
- <div class="col s4 input-field">
118
- <input
119
- placeholder=""
120
- name="useAppVersionFromGithub"
121
- type="checkbox"
122
- id="useAppVersionFromGithub"
123
- class="value"
124
- />
125
- <label for="useAppVersionFromGithub" class="translate">useAppVersionFromGithub</label>
126
- </div>
127
- </div>
128
- </div>
129
- </body>
130
- </html>