diff --git a/dist/plex-meets-homeassistant.js b/dist/plex-meets-homeassistant.js
index 8f26143..c2c1373 100644
--- a/dist/plex-meets-homeassistant.js
+++ b/dist/plex-meets-homeassistant.js
@@ -19667,7 +19667,6 @@ class PlexMeetsHomeAssistantEditor extends HTMLElement {
this.clients = await this.plex.getClients();
this.plexValidSection.style.display = 'none';
this.plexValidSection.innerHTML = '';
- // todo: modify this to work with plexPlayer
let hasUIConfig = true;
let canConvert = true;
if (lodash.isArray(this.config.entity)) {
@@ -19723,7 +19722,6 @@ class PlexMeetsHomeAssistantEditor extends HTMLElement {
this.plexValidSection.appendChild(devicesTitle);
this.entitiesSection.innerHTML = '';
this.plexValidSection.appendChild(this.entitiesSection);
- // todo: convert entities setup to simple one if not using plexPlayer
if (hasUIConfig) {
if (lodash.isString(this.config.entity)) {
this.config.entity = [this.config.entity];
@@ -19742,7 +19740,7 @@ class PlexMeetsHomeAssistantEditor extends HTMLElement {
else {
const entitiesUINotAvailable = document.createElement('div');
entitiesUINotAvailable.innerHTML =
- 'Devices configuration is not available when using plexPlayer client device.
You can edit any other settings through UI and use Show code editor to edit entities.';
+ 'Devices configuration is not available when using plexPlayer client device.
You can edit any other settings through UI and use Show code editor to edit entities.
If you are not using server settings for plexPlayer with identifier and server key, you can migrate your settings to UI by removing plexPlayer section and readd through UI.';
this.plexValidSection.appendChild(entitiesUINotAvailable);
}
const viewTitle = document.createElement('h2');
diff --git a/src/editor.ts b/src/editor.ts
index 724528e..11a97f6 100644
--- a/src/editor.ts
+++ b/src/editor.ts
@@ -272,7 +272,6 @@ class PlexMeetsHomeAssistantEditor extends HTMLElement {
this.plexValidSection.style.display = 'none';
this.plexValidSection.innerHTML = '';
- // todo: modify this to work with plexPlayer
let hasUIConfig = true;
let canConvert = true;
if (_.isArray(this.config.entity)) {
@@ -328,7 +327,6 @@ class PlexMeetsHomeAssistantEditor extends HTMLElement {
this.plexValidSection.appendChild(devicesTitle);
this.entitiesSection.innerHTML = '';
this.plexValidSection.appendChild(this.entitiesSection);
- // todo: convert entities setup to simple one if not using plexPlayer
if (hasUIConfig) {
if (_.isString(this.config.entity)) {
this.config.entity = [this.config.entity];
@@ -346,7 +344,7 @@ class PlexMeetsHomeAssistantEditor extends HTMLElement {
} else {
const entitiesUINotAvailable = document.createElement('div');
entitiesUINotAvailable.innerHTML =
- 'Devices configuration is not available when using plexPlayer client device.
You can edit any other settings through UI and use Show code editor to edit entities.';
+ 'Devices configuration is not available when using plexPlayer client device.
You can edit any other settings through UI and use Show code editor to edit entities.
If you are not using server settings for plexPlayer with identifier and server key, you can migrate your settings to UI by removing plexPlayer section and readd through UI.';
this.plexValidSection.appendChild(entitiesUINotAvailable);
}