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) {