From 6f82472971380dccf34b340144d1158b43106c31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juraj=20Nyi=CC=81ri?= Date: Tue, 4 Jan 2022 17:25:29 +0100 Subject: [PATCH] Add #66: vlc_telnet to supported entities in editor --- dist/plex-meets-homeassistant.js | 3 ++- src/editor.ts | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/dist/plex-meets-homeassistant.js b/dist/plex-meets-homeassistant.js index 0c89c30..28eb055 100644 --- a/dist/plex-meets-homeassistant.js +++ b/dist/plex-meets-homeassistant.js @@ -20396,7 +20396,8 @@ class PlexMeetsHomeAssistantEditor extends HTMLElement { lodash.isEqual(entityRegistry.platform, 'kodi') || lodash.isEqual(entityRegistry.platform, 'androidtv') || lodash.isEqual(entityRegistry.platform, 'input_select') || - lodash.isEqual(entityRegistry.platform, 'input_text')) { + lodash.isEqual(entityRegistry.platform, 'input_text') || + lodash.isEqual(entityRegistry.platform, 'vlc_telnet')) { const entityName = `${entityRegistry.platform} | ${entityRegistry.entity_id}`; entities.appendChild(addDropdownItem(entityName)); addedEntityStrings.push(entityName); diff --git a/src/editor.ts b/src/editor.ts index 6fba84b..ba36acd 100644 --- a/src/editor.ts +++ b/src/editor.ts @@ -296,7 +296,8 @@ class PlexMeetsHomeAssistantEditor extends HTMLElement { _.isEqual(entityRegistry.platform, 'kodi') || _.isEqual(entityRegistry.platform, 'androidtv') || _.isEqual(entityRegistry.platform, 'input_select') || - _.isEqual(entityRegistry.platform, 'input_text') + _.isEqual(entityRegistry.platform, 'input_text') || + _.isEqual(entityRegistry.platform, 'vlc_telnet') ) { const entityName = `${entityRegistry.platform} | ${entityRegistry.entity_id}`; entities.appendChild(addDropdownItem(entityName));