Skip to content

Commit

Permalink
fix screen saver update in the input list
Browse files Browse the repository at this point in the history
  • Loading branch information
grzegorz914 committed May 18, 2024
1 parent 2f66f51 commit 098851c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"displayName": "LG webOS TV",
"name": "homebridge-lgwebos-tv",
"version": "2.18.2",
"version": "2.18.3",
"description": "Homebridge plugin to control LG webOS TV.",
"license": "MIT",
"author": "grzegorz914",
Expand Down
1 change: 1 addition & 0 deletions src/lgwebossocket.js
Original file line number Diff line number Diff line change
Expand Up @@ -416,6 +416,7 @@ class LgWebOsSocket extends EventEmitter {

this.emit('powerState', this.power, this.screenState);
const disconnect = !this.power ? socket.emit('powerOff') : false;
const emit = this.screenState === 'Screen Saver' ? this.emit('currentApp', 'com.webos.app.screensaver') : this.emit('currentApp', this.appId);

//restFul
this.emit('restFul', 'power', messageData);
Expand Down

0 comments on commit 098851c

Please sign in to comment.