diff --git a/dist/plex-meets-homeassistant.js b/dist/plex-meets-homeassistant.js index 1384ddb..5edb8d4 100644 --- a/dist/plex-meets-homeassistant.js +++ b/dist/plex-meets-homeassistant.js @@ -19919,6 +19919,12 @@ class PlayController { } } } + try { + this.entityStates['sensor.kodi_media_sensor_search'] = await getState(this.hass, 'sensor.kodi_media_sensor_search'); + } + catch (err) { + // pass + } return this.entityStates; }; this.getPlexPlayerMachineIdentifier = (entity) => { diff --git a/src/modules/PlayController.ts b/src/modules/PlayController.ts index 890f271..0e9f73f 100644 --- a/src/modules/PlayController.ts +++ b/src/modules/PlayController.ts @@ -696,6 +696,15 @@ class PlayController { } } } + try { + this.entityStates['sensor.kodi_media_sensor_search'] = await getState( + this.hass, + 'sensor.kodi_media_sensor_search' + ); + } catch (err) { + // pass + } + return this.entityStates; };