Fix: Kodi service always not available since 3.0.0

music
Juraj Nyíri 3 years ago
parent 664aa8de3a
commit c940683c1f

@ -19867,6 +19867,12 @@ class PlayController {
this.entityStates[entityVal] = await getState(this.hass, entityVal);
}
}
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) => {

@ -635,6 +635,15 @@ class PlayController {
this.entityStates[entityVal] = await getState(this.hass, entityVal);
}
}
try {
this.entityStates['sensor.kodi_media_sensor_search'] = await getState(
this.hass,
'sensor.kodi_media_sensor_search'
);
} catch (err) {
// pass
}
return this.entityStates;
};

Loading…
Cancel
Save