Update: Rename adb key to androidtv

pull/16/head
Juraj Nyíri 4 years ago
parent 05f7bca279
commit 68bc8985e6

@ -55,7 +55,7 @@ protocol: http
maxCount: 10 maxCount: 10
entity: entity:
kodi: media_player.kodi_123456qwe789rty 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. If you are using Home Assistant via HTTPS, you need to specify port `https` for Plex and have Plex available on https connection.

@ -18701,7 +18701,7 @@ class PlayController {
this.supported = { this.supported = {
// kodi: ['movie', 'episode'], // kodi: ['movie', 'episode'],
kodi: ['movie'], kodi: ['movie'],
adb: ['movie', 'show', 'season', 'episode'] androidtv: ['movie', 'show', 'season', 'episode']
}; };
this.getState = async (entityID) => { this.getState = async (entityID) => {
return this.hass.callApi('GET', `states/${entityID}`); return this.hass.callApi('GET', `states/${entityID}`);

@ -14,7 +14,7 @@ class PlayController {
supported: any = { supported: any = {
// kodi: ['movie', 'episode'], // kodi: ['movie', 'episode'],
kodi: ['movie'], kodi: ['movie'],
adb: ['movie', 'show', 'season', 'episode'] androidtv: ['movie', 'show', 'season', 'episode']
}; };
constructor(hass: HomeAssistant, plex: Plex, entity: Record<string, any>) { constructor(hass: HomeAssistant, plex: Plex, entity: Record<string, any>) {

Loading…
Cancel
Save