File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ instance.prototype.init = function () {
19
19
self . status ( self . STATUS_UNKNOWN ) ;
20
20
21
21
if ( self . config . host ) {
22
- if ( self . config . firmware === 2 ) {
22
+ if ( self . config . firmware === "2" ) {
23
23
self . tv = new smartcast ( `${ self . config . host } :9000` ) ;
24
24
} else {
25
25
self . tv = new smartcast ( self . config . host ) ;
@@ -38,7 +38,7 @@ instance.prototype.updateConfig = function (config) {
38
38
self . config = config ;
39
39
40
40
if ( self . config . host ) {
41
- if ( self . config . firmware === 2 ) {
41
+ if ( self . config . firmware === "2" ) {
42
42
self . tv = new smartcast ( `${ self . config . host } :9000` ) ;
43
43
} else {
44
44
self . tv = new smartcast ( self . config . host ) ;
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " vizio-smartcast" ,
3
- "version" : " 1.1.5 " ,
3
+ "version" : " 1.1.6 " ,
4
4
"api_version" : " 1.0.0" ,
5
5
"keywords" : [
6
6
" TV"
You can’t perform that action at this time.
0 commit comments