diff --git a/README.md b/README.md index 5267f6d4..312f762b 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,7 @@ This card supports several media platforms with default key and source lists. It | [Apple TV](https://www.home-assistant.io/integrations/apple_tv) | Default keys | Default sources and slider | NA | | [Samsung TV](https://www.home-assistant.io/integrations/samsungtv/) | Default keys | Default sources and slider | NA | | [LG webOS](https://www.home-assistant.io/integrations/webostv/) | NA | Default keys, sources, and sliders | NA | -| [Sony BRAVIA](https://www.home-assistant.io/integrations/braviatv/#remote) | Default Keys | Default sources | NA +| [Sony BRAVIA](https://www.home-assistant.io/integrations/braviatv/) | Default Keys | Default sources | NA ## Action Timings diff --git a/src/models/maps/bravia/defaultKeys.ts b/src/models/maps/bravia/defaultKeys.ts index 444b79f7..01deeafa 100644 --- a/src/models/maps/bravia/defaultKeys.ts +++ b/src/models/maps/bravia/defaultKeys.ts @@ -2,10 +2,11 @@ import { IElementConfig } from '../../interfaces'; /** - * This is the list of most common commands from the Android TV Remote integration page. - * Not all are ensured to work, and if they do not it is likely an issue with the underlying package used by the Android TV Remote integration or the Android TV Remote Protocol V2 itself. - * https://www.home-assistant.io/integrations/androidtv_remote/#remote - */ +* This list contains commands listed by the Sony BRAVIA KD-55X750H used during development. +* Additional commands may be supported. +* +* https://www.home-assistant.io/integrations/braviatv/ +*/ export const braviaTVDefaultKeys: IElementConfig[] = [ { type: 'button', @@ -341,4 +342,10 @@ export const braviaTVDefaultKeys: IElementConfig[] = [ tap_action: { action: 'key', key: 'MediaAudioTrack' }, icon: 'mdi:waveform', }, + { + type: 'button', + name: 'netflix', + tap_action: { action: 'key', key: 'Netflix' }, + icon: 'mdi:netflix' + } ]; diff --git a/src/models/maps/bravia/defaultSources.ts b/src/models/maps/bravia/defaultSources.ts index 00c92af5..1780a068 100644 --- a/src/models/maps/bravia/defaultSources.ts +++ b/src/models/maps/bravia/defaultSources.ts @@ -1,9 +1,10 @@ import { IElementConfig } from '../../interfaces'; /** - * This is a list of common streaming apps, their icons, and the deep links to open them in Android TV, mostly collected from the following Home Assistant Community Forum guide. - * Not all have been tested, if any do not work please let me know! - * https://community.home-assistant.io/t/android-tv-remote-app-links-deep-linking-guide/567921 + * This list contains a subset of supported sources. + * Supported sources can be added by their explicit App Name + * + * https://www.home-assistant.io/integrations/braviatv/#play-media-action */ export const braviaTVDefaultSources: IElementConfig[] = [ {