File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ module.exports = function (RED) {
3939 }
4040 ) ;
4141 const s = getStatus ( property . last_value ) ;
42- if ( s )
42+ if ( s != undefined )
4343 this . status ( { fill : "grey" , shape : "dot" , text : s } ) ;
4444 else
4545 this . status ( { } ) ;
@@ -71,7 +71,7 @@ module.exports = function (RED) {
7171 await connectionManager . connect ( connectionConfig ) ;
7272 this . arduinoRestClient . setProperty ( this . thing , this . propertyId , msg . payload ) ;
7373 const s = getStatus ( msg . payload ) ;
74- if ( s )
74+ if ( s != undefined )
7575 this . status ( { fill : "grey" , shape : "dot" , text : s } ) ;
7676 else
7777 this . status ( { } ) ;
@@ -176,7 +176,7 @@ module.exports = function (RED) {
176176 }
177177 ) ;
178178 const s = getStatus ( property . last_value ) ;
179- if ( s )
179+ if ( s != undefined )
180180 this . status ( { fill : "grey" , shape : "dot" , text : s } ) ;
181181 else
182182 this . status ( { } ) ;
@@ -213,7 +213,7 @@ module.exports = function (RED) {
213213 }
214214 ) ;
215215 const s = getStatus ( property . last_value ) ;
216- if ( s )
216+ if ( s != undefined )
217217 this . status ( { fill : "grey" , shape : "dot" , text : s } ) ;
218218 else
219219 this . status ( { } ) ;
You can’t perform that action at this time.
0 commit comments