@o-lukas/homebridge-smartthings-tv 3.0.0-alpha.4 → 3.0.0-alpha.6

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/CHANGELOG.md CHANGED
@@ -1,13 +1,24 @@
1
- # [3.0.0-alpha.4](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v3.0.0-alpha.3...v3.0.0-alpha.4) (2025-10-22)
1
+ # [3.0.0-alpha.6](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v3.0.0-alpha.5...v3.0.0-alpha.6) (2025-10-23)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * ensure correct token type when saving refresh token ([1b95411](https://github.com/o-lukas/homebridge-smartthings-tv/commit/1b95411bd8b154c26c8098bf4f3496007f0e3cb0)), closes [#494](https://github.com/o-lukas/homebridge-smartthings-tv/issues/494)
7
+
8
+ # [3.0.0-alpha.5](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v3.0.0-alpha.4...v3.0.0-alpha.5) (2025-10-23)
2
9
 
3
10
 
11
+ ### Bug Fixes
12
+
13
+ * prevent null assigns of OAuth client id & secret ([5b43f4b](https://github.com/o-lukas/homebridge-smartthings-tv/commit/5b43f4b561903aa16f54f0816b6f5473781b2bc1))
14
+
15
+ # [3.0.0-alpha.4](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v3.0.0-alpha.3...v3.0.0-alpha.4) (2025-10-22)
16
+
4
17
  ### Features
5
18
 
6
19
  * generate CHANGELOG.md ([b4a545a](https://github.com/o-lukas/homebridge-smartthings-tv/commit/b4a545acebe093375f5ec66c24e0bdf28fab8762))
7
20
 
8
- # Changelog
9
-
10
- ## [3.0.0-alpha.3](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v3.0.0-alpha.2...v3.0.0-alpha.3) (2025-10-22)
21
+ # [3.0.0-alpha.3](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v3.0.0-alpha.2...v3.0.0-alpha.3) (2025-10-22)
11
22
 
12
23
  ### Features
13
24
 
@@ -17,13 +28,13 @@
17
28
 
18
29
  * don't close wizard when configChanged callback is called ([0c66020](https://github.com/o-lukas/homebridge-smartthings-tv/commit/0c6602055d400f497daa16272c5f5dac5829bb0c)), closes [#494](https://github.com/o-lukas/homebridge-smartthings-tv/issues/494)
19
30
 
20
- ## [3.0.0-alpha.2](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v3.0.0-alpha.1...v3.0.0-alpha.2) (2025-10-22)
31
+ # [3.0.0-alpha.2](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v3.0.0-alpha.1...v3.0.0-alpha.2) (2025-10-22)
21
32
 
22
33
  ### Features
23
34
 
24
35
  * add logging to custom UI ([11e9dc1](https://github.com/o-lukas/homebridge-smartthings-tv/commit/11e9dc1b8c6311310fe2908e7cabd1691c57fb9d))
25
36
 
26
- ## [3.0.0-alpha.1](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v2.8.0...v3.0.0-alpha.1) (2025-10-12)
37
+ # [3.0.0-alpha.1](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v2.8.0...v3.0.0-alpha.1) (2025-10-12)
27
38
 
28
39
  ### ⚠ BREAKING CHANGES
29
40
 
@@ -37,7 +48,7 @@
37
48
 
38
49
  * bump ping from 0.4.4 to 1.0.0 ([ec75f4a](https://github.com/o-lukas/homebridge-smartthings-tv/commit/ec75f4adb157c6be5137a4da21d52ed16247366e))
39
50
 
40
- ## [2.8.0](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v2.7.3...v2.8.0) (2025-07-11)
51
+ # [2.8.0](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v2.7.3...v2.8.0) (2025-07-11)
41
52
 
42
53
  ### Features
43
54
 
@@ -48,39 +59,39 @@
48
59
 
49
60
  * add error message if picture/sound mode capability is missing ([5278296](https://github.com/o-lukas/homebridge-smartthings-tv/commit/5278296ee72346905dbe004a6fa4fb85db26ce0a))
50
61
 
51
- ## [2.7.3](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v2.7.2...v2.7.3) (2025-06-12)
62
+ # [2.7.3](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v2.7.2...v2.7.3) (2025-06-12)
52
63
 
53
64
  ### Bug Fixes
54
65
 
55
66
  * add default empty config if none is present ([17ea070](https://github.com/o-lukas/homebridge-smartthings-tv/commit/17ea0705bcb751f3bdf3129a95ffd50af15610a6)), closes [#468](https://github.com/o-lukas/homebridge-smartthings-tv/issues/468) [#473](https://github.com/o-lukas/homebridge-smartthings-tv/issues/473)
56
67
  * bump @homebridge/plugin-ui-utils from 2.0.2 to 2.1.0 ([4eded1e](https://github.com/o-lukas/homebridge-smartthings-tv/commit/4eded1e028bff9a304a30fdff1f9ccce6728b3d5))
57
68
 
58
- ## [2.7.2](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v2.7.1...v2.7.2) (2025-04-21)
69
+ # [2.7.2](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v2.7.1...v2.7.2) (2025-04-21)
59
70
 
60
71
  ### Bug Fixes
61
72
 
62
73
  * bump @homebridge/plugin-ui-utils from 2.0.1 to 2.0.2 ([b459b01](https://github.com/o-lukas/homebridge-smartthings-tv/commit/b459b015a1d4c225d2c01e94ec0287a9cf141f3a))
63
74
 
64
- ## [2.7.1](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v2.7.0...v2.7.1) (2025-03-30)
75
+ # [2.7.1](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v2.7.0...v2.7.1) (2025-03-30)
65
76
 
66
77
  ### Bug Fixes
67
78
 
68
79
  * add soundbar input source warning ([7a73271](https://github.com/o-lukas/homebridge-smartthings-tv/commit/7a73271c7cbac0f411d604c5e24a0d607301bf6d))
69
80
  * catch errors in capability registration ([9eac1ff](https://github.com/o-lukas/homebridge-smartthings-tv/commit/9eac1ff9430cc330b172454f789a9da0884dc31f))
70
81
 
71
- ## [2.7.0](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v2.6.1...v2.7.0) (2025-03-30)
82
+ # [2.7.0](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v2.6.1...v2.7.0) (2025-03-30)
72
83
 
73
84
  ### Features
74
85
 
75
86
  * optionally register input sources as switches ([f7c6f06](https://github.com/o-lukas/homebridge-smartthings-tv/commit/f7c6f06dbcf2502e3e08a20051167eb7606681f6)), closes [#460](https://github.com/o-lukas/homebridge-smartthings-tv/issues/460)
76
87
 
77
- ## [2.6.1](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v2.6.0...v2.6.1) (2025-03-21)
88
+ # [2.6.1](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v2.6.0...v2.6.1) (2025-03-21)
78
89
 
79
90
  ### Bug Fixes
80
91
 
81
92
  * update config validation for OAuth ([695828a](https://github.com/o-lukas/homebridge-smartthings-tv/commit/695828a4fda070def3a53cd978ee3e00df926ebe)), closes [#458](https://github.com/o-lukas/homebridge-smartthings-tv/issues/458)
82
93
 
83
- ## [2.6.0](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v2.5.0...v2.6.0) (2025-03-16)
94
+ # [2.6.0](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v2.5.0...v2.6.0) (2025-03-16)
84
95
 
85
96
  ### Features
86
97
 
@@ -93,7 +104,7 @@
93
104
  * bump dependency versions ([0263d26](https://github.com/o-lukas/homebridge-smartthings-tv/commit/0263d26bde60fc3848062faed735f4a99e758784))
94
105
  * **oauth:** handle undefined values in OAuth wizard ([891415a](https://github.com/o-lukas/homebridge-smartthings-tv/commit/891415a6203f942f856ca1284725b534a6efb63b))
95
106
 
96
- ## [2.5.0](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v2.4.0...v2.5.0) (2025-01-12)
107
+ # [2.5.0](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v2.4.0...v2.5.0) (2025-01-12)
97
108
 
98
109
  ### Features
99
110
 
@@ -103,63 +114,63 @@
103
114
 
104
115
  * accessories not being published when active identifier can't be reset ([9d8decd](https://github.com/o-lukas/homebridge-smartthings-tv/commit/9d8decdf61d29e712eb1bccdd68bdf2df3be99cd))
105
116
 
106
- ## [2.4.0](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v2.3.8...v2.4.0) (2024-12-01)
117
+ # [2.4.0](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v2.3.8...v2.4.0) (2024-12-01)
107
118
 
108
119
  ### Features
109
120
 
110
121
  * make supported device types configurable ([a013106](https://github.com/o-lukas/homebridge-smartthings-tv/commit/a0131060640e5e695044bdd6026f1827ee959577)), closes [#430](https://github.com/o-lukas/homebridge-smartthings-tv/issues/430)
111
122
 
112
- ## [2.3.8](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v2.3.7...v2.3.8) (2024-11-30)
123
+ # [2.3.8](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v2.3.7...v2.3.8) (2024-11-30)
113
124
 
114
125
  ### Bug Fixes
115
126
 
116
127
  * support node v22.x ([784d906](https://github.com/o-lukas/homebridge-smartthings-tv/commit/784d9062b74c9d7dca6876a406970fa0b7ecf5ff)), closes [#428](https://github.com/o-lukas/homebridge-smartthings-tv/issues/428)
117
128
 
118
- ## [2.3.7](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v2.3.6...v2.3.7) (2024-10-21)
129
+ # [2.3.7](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v2.3.6...v2.3.7) (2024-10-21)
119
130
 
120
131
  ### Bug Fixes
121
132
 
122
133
  * bump @smartthings/core-sdk from 8.3.1 to 8.3.2 ([6fbdb06](https://github.com/o-lukas/homebridge-smartthings-tv/commit/6fbdb068691ec1c47120a3c87a0199ca122d3c5f))
123
134
 
124
- ## [2.3.6](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v2.3.5...v2.3.6) (2024-10-03)
135
+ # [2.3.6](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v2.3.5...v2.3.6) (2024-10-03)
125
136
 
126
137
  ### Bug Fixes
127
138
 
128
139
  * catch errors when registering capabilities ([9d32607](https://github.com/o-lukas/homebridge-smartthings-tv/commit/9d32607259e0a93937427d2af32e3ff7cd9bbe91)), closes [#410](https://github.com/o-lukas/homebridge-smartthings-tv/issues/410)
129
140
 
130
- ## [2.3.5](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v2.3.4...v2.3.5) (2024-10-01)
141
+ # [2.3.5](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v2.3.4...v2.3.5) (2024-10-01)
131
142
 
132
143
  ### Bug Fixes
133
144
 
134
145
  * remove debugging values ([6a5f0bd](https://github.com/o-lukas/homebridge-smartthings-tv/commit/6a5f0bd3d78584cb5ceeb3e53900791c4c94e203))
135
146
 
136
- ## [2.3.4](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v2.3.3...v2.3.4) (2024-10-01)
147
+ # [2.3.4](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v2.3.3...v2.3.4) (2024-10-01)
137
148
 
138
149
  ### Bug Fixes
139
150
 
140
151
  * handle invalid volume values ([5421170](https://github.com/o-lukas/homebridge-smartthings-tv/commit/54211702ccbe3e024e791fba9de5e90bb9de153a))
141
152
  * publish all external accessory at once ([b20ac1d](https://github.com/o-lukas/homebridge-smartthings-tv/commit/b20ac1d1b4dbc8ef6b3f97abbdd595dc89cb138c)), closes [#410](https://github.com/o-lukas/homebridge-smartthings-tv/issues/410)
142
153
 
143
- ## [2.3.3](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v2.3.2...v2.3.3) (2024-09-27)
154
+ # [2.3.3](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v2.3.2...v2.3.3) (2024-09-27)
144
155
 
145
156
  ### Bug Fixes
146
157
 
147
158
  * replace JSON file for app declarations ([8aef6d3](https://github.com/o-lukas/homebridge-smartthings-tv/commit/8aef6d3cd67f15df33b9259846ebb874c9a43a62)), closes [#413](https://github.com/o-lukas/homebridge-smartthings-tv/issues/413)
148
159
  * set UUID for external accessory context ([569ead2](https://github.com/o-lukas/homebridge-smartthings-tv/commit/569ead2d5a30f9045312f6d14c7d35352486486d)), closes [#410](https://github.com/o-lukas/homebridge-smartthings-tv/issues/410)
149
160
 
150
- ## [2.3.2](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v2.3.1...v2.3.2) (2024-09-15)
161
+ # [2.3.2](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v2.3.1...v2.3.2) (2024-09-15)
151
162
 
152
163
  ### Bug Fixes
153
164
 
154
165
  * bump @smartthings/core-sdk from 8.2.0 to 8.3.1 ([196ab02](https://github.com/o-lukas/homebridge-smartthings-tv/commit/196ab027b2d07f58af663783803041643d0600b5))
155
166
 
156
- ## [2.3.1](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v2.3.0...v2.3.1) (2024-08-24)
167
+ # [2.3.1](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v2.3.0...v2.3.1) (2024-08-24)
157
168
 
158
169
  ### Bug Fixes
159
170
 
160
171
  * use assert instead of with for import assertions ([0e32018](https://github.com/o-lukas/homebridge-smartthings-tv/commit/0e320189a821b1fae386a3006e597c54280771c8)), closes [#403](https://github.com/o-lukas/homebridge-smartthings-tv/issues/403)
161
172
 
162
- ## [2.3.0](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v2.2.0...v2.3.0) (2024-08-18)
173
+ # [2.3.0](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v2.2.0...v2.3.0) (2024-08-18)
163
174
 
164
175
  ### Features
165
176
 
@@ -170,51 +181,51 @@
170
181
  * make device id mandatory in schema ([697ef81](https://github.com/o-lukas/homebridge-smartthings-tv/commit/697ef81208981bf5730fa0b9fd9219b729aebaeb))
171
182
  * show soundbars as TV_SET_TOP_BOX ([b17d392](https://github.com/o-lukas/homebridge-smartthings-tv/commit/b17d39256d4cd7dc3430b0dc7d43219c9f82c147))
172
183
 
173
- ## [2.2.0](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v2.1.3...v2.2.0) (2024-08-18)
184
+ # [2.2.0](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v2.1.3...v2.2.0) (2024-08-18)
174
185
 
175
186
  ### Features
176
187
 
177
188
  * implement basic support for SoundBars ([94527ed](https://github.com/o-lukas/homebridge-smartthings-tv/commit/94527edbc2a6ab41708f71fe8e15df3919a35417)), closes [#384](https://github.com/o-lukas/homebridge-smartthings-tv/issues/384)
178
189
 
179
- ## [2.1.3](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v2.1.2...v2.1.3) (2024-08-16)
190
+ # [2.1.3](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v2.1.2...v2.1.3) (2024-08-16)
180
191
 
181
192
  ### Bug Fixes
182
193
 
183
194
  * bump axios to >1.7.3 ([faccda8](https://github.com/o-lukas/homebridge-smartthings-tv/commit/faccda885ca96e36c4c22c0f33550bd0b4ad5a57))
184
195
 
185
- ## [2.1.2](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v2.1.1...v2.1.2) (2024-07-05)
196
+ # [2.1.2](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v2.1.1...v2.1.2) (2024-07-05)
186
197
 
187
198
  ### Bug Fixes
188
199
 
189
200
  * change log level of possible info key values ([cda1315](https://github.com/o-lukas/homebridge-smartthings-tv/commit/cda13158e23fa6262eedfc4928d06e3818ab7cca))
190
201
 
191
- ## [2.1.1](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v2.1.0...v2.1.1) (2024-06-30)
202
+ # [2.1.1](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v2.1.0...v2.1.1) (2024-06-30)
192
203
 
193
204
  ### Bug Fixes
194
205
 
195
206
  * remove debugging value ([fa842d2](https://github.com/o-lukas/homebridge-smartthings-tv/commit/fa842d2c33681951d8cb79943903357a16afebc3))
196
207
 
197
- ## [2.1.0](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v2.0.3...v2.1.0) (2024-06-28)
208
+ # [2.1.0](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v2.0.3...v2.1.0) (2024-06-28)
198
209
 
199
210
  ### Features
200
211
 
201
212
  * add property to control info key behavior ([c34159d](https://github.com/o-lukas/homebridge-smartthings-tv/commit/c34159db0aefd13341535ab551ef31261289b8a3)), closes [#368](https://github.com/o-lukas/homebridge-smartthings-tv/issues/368)
202
213
  * add property to permanently override display name ([9d34b29](https://github.com/o-lukas/homebridge-smartthings-tv/commit/9d34b29c56c99484b5621c4badd9aecdd55d33e4)), closes [#367](https://github.com/o-lukas/homebridge-smartthings-tv/issues/367)
203
214
 
204
- ## [2.0.3](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v2.0.2...v2.0.3) (2024-04-28)
215
+ # [2.0.3](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v2.0.2...v2.0.3) (2024-04-28)
205
216
 
206
217
  ### Bug Fixes
207
218
 
208
219
  * renamed deviceBlacklist to deviceBlocklist ([eb04095](https://github.com/o-lukas/homebridge-smartthings-tv/commit/eb04095bf740539c2a7263ce57e88c79d6c24c61))
209
220
 
210
- ## [2.0.2](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v2.0.1...v2.0.2) (2024-04-27)
221
+ # [2.0.2](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v2.0.1...v2.0.2) (2024-04-27)
211
222
 
212
223
  ### Bug Fixes
213
224
 
214
225
  * bump @smartthings/core-sdk from 8.1.3 to 8.1.4 ([1c03aca](https://github.com/o-lukas/homebridge-smartthings-tv/commit/1c03aca0c3d8ea2676681a08b7394bc8f31ad9f3))
215
226
  * bump homebridge from 1.7.0 to 1.8.0 ([83002b3](https://github.com/o-lukas/homebridge-smartthings-tv/commit/83002b3dea40b6f9c65319b0d5032175343096c4))
216
227
 
217
- ## [2.0.1](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v2.0.0...v2.0.1) (2024-04-20)
228
+ # [2.0.1](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v2.0.0...v2.0.1) (2024-04-20)
218
229
 
219
230
  ### Bug Fixes
220
231
 
@@ -224,7 +235,7 @@
224
235
 
225
236
  * Revert "build: only support node 20.x" ([f711123](https://github.com/o-lukas/homebridge-smartthings-tv/commit/f711123198d88e5b9eb7baf05341e84b84d84176))
226
237
 
227
- ## [2.0.0](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v1.10.4...v2.0.0) (2024-03-16)
238
+ # [2.0.0](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v1.10.4...v2.0.0) (2024-03-16)
228
239
 
229
240
  ### ⚠ BREAKING CHANGES
230
241
 
@@ -238,31 +249,31 @@
238
249
 
239
250
  * only support node 20.x ([a6edb33](https://github.com/o-lukas/homebridge-smartthings-tv/commit/a6edb330162ea789c10b17cab77a6274592b994d))
240
251
 
241
- ## [1.10.4](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v1.10.3...v1.10.4) (2024-03-10)
252
+ # [1.10.4](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v1.10.3...v1.10.4) (2024-03-10)
242
253
 
243
254
  ### Bug Fixes
244
255
 
245
256
  * bump @smartthings/core-sdk from 8.1.2 to 8.1.3 ([52065fd](https://github.com/o-lukas/homebridge-smartthings-tv/commit/52065fdc46c3e0080c634d261e39d6eff0f0081e))
246
257
 
247
- ## [1.10.3](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v1.10.2...v1.10.3) (2024-01-14)
258
+ # [1.10.3](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v1.10.2...v1.10.3) (2024-01-14)
248
259
 
249
260
  ### Bug Fixes
250
261
 
251
262
  * bump @smartthings/core-sdk from 8.1.1 to 8.1.2 ([2c137c0](https://github.com/o-lukas/homebridge-smartthings-tv/commit/2c137c08a73b016783295db04994c38aaf3f5bb6))
252
263
 
253
- ## [1.10.2](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v1.10.1...v1.10.2) (2023-12-08)
264
+ # [1.10.2](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v1.10.1...v1.10.2) (2023-12-08)
254
265
 
255
266
  ### Bug Fixes
256
267
 
257
268
  * bump engine versions ([63e39e8](https://github.com/o-lukas/homebridge-smartthings-tv/commit/63e39e8a5e38966c843bd78918f7acf66c48da17))
258
269
 
259
- ## [1.10.1](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v1.10.0...v1.10.1) (2023-12-03)
270
+ # [1.10.1](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v1.10.0...v1.10.1) (2023-12-03)
260
271
 
261
272
  ### Bug Fixes
262
273
 
263
274
  * fixed custom input sources begin registered as applications ([e3e5d72](https://github.com/o-lukas/homebridge-smartthings-tv/commit/e3e5d72d018bea48a5a55bccb3144e2761a30cb1))
264
275
 
265
- ## [1.10.0](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v1.9.1...v1.10.0) (2023-12-03)
276
+ # [1.10.0](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v1.9.1...v1.10.0) (2023-12-03)
266
277
 
267
278
  ### Features
268
279
 
@@ -273,43 +284,43 @@
273
284
 
274
285
  * bump axios to >1.6.0 ([c285256](https://github.com/o-lukas/homebridge-smartthings-tv/commit/c2852566035e8cd874f43b1e4f825a6abc8b0b21))
275
286
 
276
- ## [1.9.1](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v1.9.0...v1.9.1) (2023-10-29)
287
+ # [1.9.1](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v1.9.0...v1.9.1) (2023-10-29)
277
288
 
278
289
  ### Bug Fixes
279
290
 
280
291
  * bump @smartthings/core-sdk from 8.1.0 to 8.1.1 ([5e3aa25](https://github.com/o-lukas/homebridge-smartthings-tv/commit/5e3aa25f395f0890111cd5787fe99ab98e9fdce5))
281
292
 
282
- ## [1.9.0](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v1.8.3...v1.9.0) (2023-10-26)
293
+ # [1.9.0](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v1.8.3...v1.9.0) (2023-10-26)
283
294
 
284
295
  ### Features
285
296
 
286
297
  * status polling for power state, volume & active identifier ([#231](https://github.com/o-lukas/homebridge-smartthings-tv/issues/231)) ([85ccda5](https://github.com/o-lukas/homebridge-smartthings-tv/commit/85ccda5f4823df2f20d2a8b16745233ec74257da))
287
298
 
288
- ## [1.8.3](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v1.8.2...v1.8.3) (2023-10-24)
299
+ # [1.8.3](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v1.8.2...v1.8.3) (2023-10-24)
289
300
 
290
301
  ### Bug Fixes
291
302
 
292
303
  * bump @smartthings/core-sdk from 8.0.1 to 8.1.0 ([f6fa478](https://github.com/o-lukas/homebridge-smartthings-tv/commit/f6fa478bafcbcdd6458f3bf0d31a6d5c4d6e17ca))
293
304
 
294
- ## [1.8.2](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v1.8.1...v1.8.2) (2023-09-29)
305
+ # [1.8.2](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v1.8.1...v1.8.2) (2023-09-29)
295
306
 
296
307
  ### Bug Fixes
297
308
 
298
309
  * bump @smartthings/core-sdk from 8.0.0 to 8.0.1 ([5d84065](https://github.com/o-lukas/homebridge-smartthings-tv/commit/5d840657ad09ef18ac75e325e30ab6559977fa42))
299
310
 
300
- ## [1.8.1](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v1.8.0...v1.8.1) (2023-09-28)
311
+ # [1.8.1](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v1.8.0...v1.8.1) (2023-09-28)
301
312
 
302
313
  ### Bug Fixes
303
314
 
304
315
  * bump @smartthings/core-sdk from 7.1.1 to 8.0.0 ([23e5432](https://github.com/o-lukas/homebridge-smartthings-tv/commit/23e54325ed75bdd28b500cb9be74535809e286e4))
305
316
 
306
- ## [1.8.0](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v1.7.0...v1.8.0) (2023-08-29)
317
+ # [1.8.0](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v1.7.0...v1.8.0) (2023-08-29)
307
318
 
308
319
  ### Features
309
320
 
310
321
  * **ignore:** added property to ignore devices ([cb760b7](https://github.com/o-lukas/homebridge-smartthings-tv/commit/cb760b756170f4941e132d3b5dd5163fb9ad175f))
311
322
 
312
- ## [1.7.0](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v1.6.0...v1.7.0) (2023-08-27)
323
+ # [1.7.0](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v1.6.0...v1.7.0) (2023-08-27)
313
324
 
314
325
  ### Features
315
326
 
@@ -321,7 +332,7 @@
321
332
  * added device id to accessory id ([b713f23](https://github.com/o-lukas/homebridge-smartthings-tv/commit/b713f23d4611739f95637134bedbe18eea7bfa56))
322
333
  * throw error when executing command fails ([4e8e2dd](https://github.com/o-lukas/homebridge-smartthings-tv/commit/4e8e2ddcb91182693a5faac6250aa813af1447fe))
323
334
 
324
- ## [1.6.0](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v1.5.0...v1.6.0) (2023-07-08)
335
+ # [1.6.0](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v1.5.0...v1.6.0) (2023-07-08)
325
336
 
326
337
  ### Features
327
338
 
@@ -346,7 +357,7 @@
346
357
  * crash on empty input sources array ([cb1ae7e](https://github.com/o-lukas/homebridge-smartthings-tv/commit/cb1ae7e6d9d4b2fa344d67ae837b6da2241fb7af))
347
358
  * prevent illegal active identifier ([d8b20f5](https://github.com/o-lukas/homebridge-smartthings-tv/commit/d8b20f5d87ae08d018428b87a8c63e8cbe302f3c))
348
359
 
349
- ## [1.5.0](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v1.4.5...v1.5.0) (2023-06-17)
360
+ # [1.5.0](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v1.4.5...v1.5.0) (2023-06-17)
350
361
 
351
362
  ### Features
352
363
 
@@ -364,13 +375,13 @@
364
375
  * restore accessory caching ([b849b99](https://github.com/o-lukas/homebridge-smartthings-tv/commit/b849b990dfe3d59c316a3e84833600764ecd2b0a))
365
376
  * sound & display mode losing their names ([ac9b23a](https://github.com/o-lukas/homebridge-smartthings-tv/commit/ac9b23a9da5d27ae0f6119b24955d2688fdfdd69))
366
377
 
367
- ## [1.4.5](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v1.4.4...v1.4.5) (2023-05-19)
378
+ # [1.4.5](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v1.4.4...v1.4.5) (2023-05-19)
368
379
 
369
380
  ### Bug Fixes
370
381
 
371
382
  * set deviceId as serial number ([5644904](https://github.com/o-lukas/homebridge-smartthings-tv/commit/5644904478c25108964cb7f29bb6e1bae04d9141))
372
383
 
373
- ## [1.4.4](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v1.4.3...v1.4.4) (2023-04-23)
384
+ # [1.4.4](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v1.4.3...v1.4.4) (2023-04-23)
374
385
 
375
386
  ### Bug Fixes
376
387
 
@@ -378,52 +389,52 @@
378
389
  * reset active identifier after registration ([b372a75](https://github.com/o-lukas/homebridge-smartthings-tv/commit/b372a75e9dde7a0e5661797f57db74ae03968aab))
379
390
  * wait for registration to finish ([2861f68](https://github.com/o-lukas/homebridge-smartthings-tv/commit/2861f6813c1f2c90d80299900d60aaaa907002f5))
380
391
 
381
- ## [1.4.3](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v1.4.2...v1.4.3) (2023-04-22)
392
+ # [1.4.3](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v1.4.2...v1.4.3) (2023-04-22)
382
393
 
383
394
  ### Bug Fixes
384
395
 
385
396
  * added YouTubeTV application id ([fa58e74](https://github.com/o-lukas/homebridge-smartthings-tv/commit/fa58e741f452acbc58918f3af96a583f17779833))
386
397
  * wait for input registrations ([f83dda8](https://github.com/o-lukas/homebridge-smartthings-tv/commit/f83dda8ac101bdeb57012c002981ad1419f5287c))
387
398
 
388
- ## [1.4.2](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v1.4.1...v1.4.2) (2023-04-11)
399
+ # [1.4.2](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v1.4.1...v1.4.2) (2023-04-11)
389
400
 
390
401
  ### Bug Fixes
391
402
 
392
403
  * manually update xml2js to fix CVE-2023-0842 ([cf1aa1c](https://github.com/o-lukas/homebridge-smartthings-tv/commit/cf1aa1c59267ceec49f8a5ec9a4da8b7cc9e1782))
393
404
 
394
- ## [1.4.1](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v1.4.0...v1.4.1) (2023-04-09)
405
+ # [1.4.1](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v1.4.0...v1.4.1) (2023-04-09)
395
406
 
396
407
  ### Bug Fixes
397
408
 
398
409
  * added missing config property titles ([0492c71](https://github.com/o-lukas/homebridge-smartthings-tv/commit/0492c712273278e6aa083e2371d3be2186db8fe4))
399
410
 
400
- ## [1.4.0](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v1.3.2...v1.4.0) (2023-04-09)
411
+ # [1.4.0](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v1.3.2...v1.4.0) (2023-04-09)
401
412
 
402
413
  ### Features
403
414
 
404
415
  * added flags for ping and wol functionalities ([f5e5ac4](https://github.com/o-lukas/homebridge-smartthings-tv/commit/f5e5ac47766e08efb05492ca6efaa6fb9c3105ab))
405
416
  * added validation patterns ([8dea24d](https://github.com/o-lukas/homebridge-smartthings-tv/commit/8dea24d006b68722a3931f3af8259a331f822e5f))
406
417
 
407
- ## [1.3.2](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v1.3.1...v1.3.2) (2023-04-04)
418
+ # [1.3.2](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v1.3.1...v1.3.2) (2023-04-04)
408
419
 
409
420
  ### Bug Fixes
410
421
 
411
422
  * configure display name for mode switches ([418f24f](https://github.com/o-lukas/homebridge-smartthings-tv/commit/418f24f47b1edb2049a4f3feb2e08e89dd7d42f6))
412
423
 
413
- ## [1.3.1](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v1.3.0...v1.3.1) (2023-04-02)
424
+ # [1.3.1](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v1.3.0...v1.3.1) (2023-04-02)
414
425
 
415
426
  ### Bug Fixes
416
427
 
417
428
  * improve error message for device registration ([4fe64aa](https://github.com/o-lukas/homebridge-smartthings-tv/commit/4fe64aa82ae578a7a6ed5101bb93952564cdbdab))
418
429
 
419
- ## [1.3.0](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v1.2.0...v1.3.0) (2023-04-02)
430
+ # [1.3.0](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v1.2.0...v1.3.0) (2023-04-02)
420
431
 
421
432
  ### Features
422
433
 
423
434
  * added warning for proposed capabilities ([1b83756](https://github.com/o-lukas/homebridge-smartthings-tv/commit/1b837561fbf40fa79243a4f1209207c330ccb518))
424
435
  * **soundMode:** add sound modes as switch ([458f7cf](https://github.com/o-lukas/homebridge-smartthings-tv/commit/458f7cf4f94151f0dee20b58f0214514009af5aa))
425
436
 
426
- ## [1.2.0](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v1.1.1...v1.2.0) (2023-04-02)
437
+ # [1.2.0](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v1.1.1...v1.2.0) (2023-04-02)
427
438
 
428
439
  ### Features
429
440
 
@@ -434,20 +445,20 @@
434
445
 
435
446
  * **pictureMode:** update all switches after change ([404c901](https://github.com/o-lukas/homebridge-smartthings-tv/commit/404c9019f6ab94c90c305eeafd732dd38cf47124))
436
447
 
437
- ## [1.1.1](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v1.1.0...v1.1.1) (2023-04-02)
448
+ # [1.1.1](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v1.1.0...v1.1.1) (2023-04-02)
438
449
 
439
450
  ### Bug Fixes
440
451
 
441
452
  * crash on error when discovering devices ([520a323](https://github.com/o-lukas/homebridge-smartthings-tv/commit/520a323bf832fe95ab58ccb19609052b1c0b3057))
442
453
  * **log:** changed log level of ignored devices ([facf3c2](https://github.com/o-lukas/homebridge-smartthings-tv/commit/facf3c27351767c102010833b57fccb721283b9f))
443
454
 
444
- ## [1.1.0](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v1.0.6...v1.1.0) (2023-04-01)
455
+ # [1.1.0](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v1.0.6...v1.1.0) (2023-04-01)
445
456
 
446
457
  ### Features
447
458
 
448
459
  * **semantic-release:** added semantic release ([f410a26](https://github.com/o-lukas/homebridge-smartthings-tv/commit/f410a26db5723501ebea28ca0ae7b3c3386292d6))
449
460
 
450
- ## [1.0.6](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v1.0.5...v1.0.6) (2023-03-24)
461
+ # [1.0.6](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v1.0.5...v1.0.6) (2023-03-24)
451
462
 
452
463
  ### What's Changed
453
464
 
@@ -459,7 +470,7 @@
459
470
 
460
471
  **Full Changelog**: <https://github.com/o-lukas/homebridge-smartthings-tv/compare/v1.0.5...v1.0.6>
461
472
 
462
- ## [1.0.5](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v1.0.4...v1.0.5) (2023-03-22)
473
+ # [1.0.5](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v1.0.4...v1.0.5) (2023-03-22)
463
474
 
464
475
  ### What's Changed
465
476
 
@@ -469,7 +480,7 @@
469
480
 
470
481
  **Full Changelog**: <https://github.com/o-lukas/homebridge-smartthings-tv/compare/v1.0.4...v1.0.5>
471
482
 
472
- ## [1.0.4](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v1.0.3...v1.0.4) (2023-03-17)
483
+ # [1.0.4](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v1.0.3...v1.0.4) (2023-03-17)
473
484
 
474
485
  ### What's Changed
475
486
 
@@ -481,7 +492,7 @@
481
492
 
482
493
  **Full Changelog**: <https://github.com/o-lukas/homebridge-smartthings-tv/compare/v1.0.3...v1.0.4>
483
494
 
484
- ## [1.0.3](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v1.0.2...v1.0.3) (2023-03-13)
495
+ # [1.0.3](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v1.0.2...v1.0.3) (2023-03-13)
485
496
 
486
497
  ### What's Changed
487
498
 
@@ -495,7 +506,7 @@
495
506
 
496
507
  **Full Changelog**: <https://github.com/o-lukas/homebridge-smartthings-tv/compare/v1.0.2...v1.0.3>
497
508
 
498
- ## [1.0.2](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v1.0.1...v1.0.2) (2023-03-06)
509
+ # [1.0.2](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v1.0.1...v1.0.2) (2023-03-06)
499
510
 
500
511
  ### What's Changed
501
512
 
@@ -507,7 +518,7 @@
507
518
 
508
519
  **Full Changelog**: <https://github.com/o-lukas/homebridge-smartthings-tv/compare/v1.0.1...v1.0.2>
509
520
 
510
- ## [1.0.1](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v1.0.0...v1.0.1) (2023-02-27)
521
+ # [1.0.1](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v1.0.0...v1.0.1) (2023-02-27)
511
522
 
512
523
  ### What's Changed
513
524
 
@@ -518,7 +529,7 @@
518
529
 
519
530
  **Full Changelog**: <https://github.com/o-lukas/homebridge-smartthings-tv/compare/v1.0.0...v1.0.1>
520
531
 
521
- ## [1.0.0](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v0.0.6...v1.0.0) (2023-02-21)
532
+ # [1.0.0](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v0.0.6...v1.0.0) (2023-02-21)
522
533
 
523
534
  ### What's Changed
524
535
 
@@ -529,7 +540,7 @@
529
540
 
530
541
  **Full Changelog**: <https://github.com/o-lukas/homebridge-smartthings-tv/compare/v0.0.6...v1.0.0>
531
542
 
532
- ## [0.0.6](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v0.0.5...v0.0.6) (2023-02-19)
543
+ # [0.0.6](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v0.0.5...v0.0.6) (2023-02-19)
533
544
 
534
545
  ### What's Changed
535
546
 
@@ -537,11 +548,11 @@
537
548
 
538
549
  **Full Changelog**: <https://github.com/o-lukas/homebridge-smartthings-tv/compare/v0.0.4...v0.0.6>
539
550
 
540
- ## [0.0.5](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v0.0.4...v0.0.5) (2023-02-19)
551
+ # [0.0.5](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v0.0.4...v0.0.5) (2023-02-19)
541
552
 
542
553
  **Full Changelog**: <https://github.com/o-lukas/homebridge-smartthings-tv/compare/v0.0.4...v0.0.5>
543
554
 
544
- ## [0.0.4](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v0.0.3...v0.0.4) (2023-02-19)
555
+ # [0.0.4](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v0.0.3...v0.0.4) (2023-02-19)
545
556
 
546
557
  ### What's Changed
547
558
 
@@ -549,7 +560,7 @@
549
560
 
550
561
  **Full Changelog**: <https://github.com/o-lukas/homebridge-smartthings-tv/compare/v0.0.3...v0.0.4>
551
562
 
552
- ## [0.0.3](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v0.0.2...v0.0.3) (2023-02-15)
563
+ # [0.0.3](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v0.0.2...v0.0.3) (2023-02-15)
553
564
 
554
565
  ### What's Changed
555
566
 
@@ -565,7 +576,7 @@
565
576
 
566
577
  **Full Changelog**: <https://github.com/o-lukas/homebridge-smartthings-tv/compare/v0.0.2...v0.0.3>
567
578
 
568
- ## [0.0.2](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v0.0.1...v0.0.2) (2023-02-13)
579
+ # [0.0.2](https://github.com/o-lukas/homebridge-smartthings-tv/compare/v0.0.1...v0.0.2) (2023-02-13)
569
580
 
570
581
  ### What's Changed
571
582
 
@@ -577,7 +588,7 @@
577
588
 
578
589
  **Full Changelog**: <https://github.com/o-lukas/homebridge-smartthings-tv/compare/v0.0.1...v0.0.2>
579
590
 
580
- ## 0.0.1 (2023-02-07)
591
+ # 0.0.1 (2023-02-07)
581
592
 
582
593
  First Release 🎉
583
594
 
@@ -191,14 +191,15 @@
191
191
  }
192
192
  }
193
193
 
194
- function hideWizard() {
194
+ function hideWizard(disablePatWarning) {
195
195
  _log('hideWizard - start');
196
196
  try {
197
197
  homebridge.enableSaveButton();
198
198
  homebridge.showSchemaForm();
199
199
  document.getElementById('wizard').style.display = "none";
200
200
  document.getElementById('oauth-start').style.display = "block";
201
- document.getElementById('pat-warning').style.display = "none";
201
+ document.getElementById('pat-warning').style.display =
202
+ disablePatWarning ? "none" : "block";
202
203
  _log('hideWizard - done');
203
204
  } catch (err) {
204
205
  _logError('hideWizard - error', err);
@@ -227,40 +228,20 @@
227
228
  _log('updateUi - default pluginConfig saved');
228
229
  }
229
230
 
230
- // Update UI elements but avoid closing the wizard if it's already open.
231
- switch (pluginConfig[0].tokenType) {
232
- case "oauth":
233
- _log('updateUi - tokenType oauth');
234
- homebridge.showSchemaForm();
235
- // Only toggle wizard visibility when it's not currently open.
236
- if (!wizardOpen) {
237
- document.getElementById('wizard').style.display = "none";
238
- document.getElementById('oauth-start').style.display = "block";
239
- document.getElementById('pat-warning').style.display = "none";
240
- _log('updateUi - wizard was closed, showing oauth-start');
241
- } else {
242
- _log('updateUi - wizard open, leaving wizard visible');
243
- }
244
- break;
245
-
246
- case "pat":
247
- default:
248
- _log('updateUi - tokenType pat or default', pluginConfig[0].tokenType);
249
- homebridge.showSchemaForm();
250
- if (!wizardOpen) {
251
- document.getElementById('wizard').style.display = "none";
252
- document.getElementById('oauth-start').style.display = "none";
253
- document.getElementById('pat-warning').style.display =
254
- pluginConfig[0].disablePatWarning === true ? "none" : "block";
255
- _log('updateUi - wizard was closed, applied pat/default visibility');
256
- } else {
257
- _log('updateUi - wizard open, leaving wizard visible');
258
- }
259
- break;
231
+ if (wizardOpen) {
232
+ showWizard();
233
+ _log('updateUi - wizard open, leaving wizard visible');
234
+ } else {
235
+ hideWizard(pluginConfig[0].disablePatWarning === true);
236
+ _log('updateUi - wizard was closed');
260
237
  }
261
238
 
262
- document.getElementById('oauth-client-id').value = pluginConfig[0].oauthClientId ?? '';
263
- document.getElementById('oauth-client-secret').value = pluginConfig[0].oauthClientSecret ?? '';
239
+ if (pluginConfig[0].oauthClientId) {
240
+ document.getElementById('oauth-client-id').value = pluginConfig[0].oauthClientId;
241
+ }
242
+ if (pluginConfig[0].oauthClientSecret) {
243
+ document.getElementById('oauth-client-secret').value = pluginConfig[0].oauthClientSecret;
244
+ }
264
245
 
265
246
  _log('updateUi - end');
266
247
  } catch (err) {
@@ -356,6 +337,7 @@
356
337
  const pluginConfig = await homebridge.getPluginConfig();
357
338
  _log('validateStep4 - got pluginConfig', pluginConfig);
358
339
  pluginConfig[0].oauthRefreshToken = document.getElementById('oauth-refresh-token').value;
340
+ pluginConfig[0].tokenType = "oauth";
359
341
  _log('validateStep4 - setting oauthRefreshToken ***');
360
342
 
361
343
  await homebridge.updatePluginConfig(pluginConfig);
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "displayName": "Homebridge SmartThings TV",
3
3
  "name": "@o-lukas/homebridge-smartthings-tv",
4
4
  "type": "module",
5
- "version": "3.0.0-alpha.4",
5
+ "version": "3.0.0-alpha.6",
6
6
  "description": "This is a plugin for Homebridge. It offers some basic functions to control Samsung TVs using the SmartThings API.",
7
7
  "author": "o-lukas",
8
8
  "license": "MIT",