Skip to content

Commit

Permalink
Fix no info in camera node
Browse files Browse the repository at this point in the history
  • Loading branch information
claudiochimera committed Jul 29, 2024
1 parent 29bcb38 commit f2d4499
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions alexa/alexa-device.js
Original file line number Diff line number Diff line change
Expand Up @@ -2458,6 +2458,9 @@ module.exports = function (RED) {
fill = 'green';
}
}
if (text.length == 0 && node.cameraStreams && node.cameraStreams.cameraStreams && node.cameraStreams.cameraStreams.length > 0) {
text = node.cameraStreams.cameraStreams.length + " stream profile(s)";
}
}

if (!text) {
Expand Down

0 comments on commit f2d4499

Please sign in to comment.