From 68bc8985e63209ca286ebb0e3b7def6aa4cdfe81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juraj=20Nyi=CC=81ri?= Date: Sat, 8 May 2021 01:04:02 +0200 Subject: [PATCH] Update: Rename adb key to androidtv --- README.md | 2 +- dist/plex-meets-homeassistant.js | 2 +- src/modules/PlayController.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 4d05515..e354312 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ protocol: http maxCount: 10 entity: kodi: media_player.kodi_123456qwe789rty - adb: media_player.living_room_nvidia_shield + androidtv: media_player.living_room_nvidia_shield ``` If you are using Home Assistant via HTTPS, you need to specify port `https` for Plex and have Plex available on https connection. diff --git a/dist/plex-meets-homeassistant.js b/dist/plex-meets-homeassistant.js index d90996d..b757b1c 100644 --- a/dist/plex-meets-homeassistant.js +++ b/dist/plex-meets-homeassistant.js @@ -18701,7 +18701,7 @@ class PlayController { this.supported = { // kodi: ['movie', 'episode'], kodi: ['movie'], - adb: ['movie', 'show', 'season', 'episode'] + androidtv: ['movie', 'show', 'season', 'episode'] }; this.getState = async (entityID) => { return this.hass.callApi('GET', `states/${entityID}`); diff --git a/src/modules/PlayController.ts b/src/modules/PlayController.ts index 10bccbd..24b4e96 100644 --- a/src/modules/PlayController.ts +++ b/src/modules/PlayController.ts @@ -14,7 +14,7 @@ class PlayController { supported: any = { // kodi: ['movie', 'episode'], kodi: ['movie'], - adb: ['movie', 'show', 'season', 'episode'] + androidtv: ['movie', 'show', 'season', 'episode'] }; constructor(hass: HomeAssistant, plex: Plex, entity: Record) {