Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Sony BRAVIA #141

Merged
merged 37 commits into from
Nov 5, 2024
Merged
Show file tree
Hide file tree
Changes from 30 commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
c0a80e7
Create defaultKeys.ts
alex4108 Sep 24, 2024
b841fa6
Create defaultSources.ts
alex4108 Sep 24, 2024
36f2d13
Create index.ts
alex4108 Sep 24, 2024
5c53f3c
Update defaultKeys.ts
alex4108 Sep 24, 2024
9b36465
Update defaultSources.ts
alex4108 Sep 24, 2024
ee131a9
Update defaultKeys.ts
alex4108 Sep 24, 2024
845e608
Update defaultSources.ts
alex4108 Sep 24, 2024
7a8f595
Update index.ts
alex4108 Sep 24, 2024
b162c89
Update index.ts
alex4108 Sep 24, 2024
161d588
Update README.md
alex4108 Sep 24, 2024
fc5b6e5
Update package.json
alex4108 Sep 24, 2024
e4dd363
Update package.json
alex4108 Sep 24, 2024
722251b
Update dist
alex4108 Sep 24, 2024
6a0d21d
Update IActions.ts
alex4108 Sep 24, 2024
4eb95c0
Update defaultActions.ts
alex4108 Sep 24, 2024
d062691
Update defaultActions.ts
alex4108 Sep 24, 2024
63d4bd0
Update dist
alex4108 Sep 24, 2024
b77d479
Update defaultActions.ts
alex4108 Sep 24, 2024
58a669f
Update universal-remote-card-editor.ts
alex4108 Sep 24, 2024
b6b049e
Update universal-remote-card-editor.ts
alex4108 Sep 24, 2024
eb12f4e
Update dist
alex4108 Sep 24, 2024
a7ee644
Update defaultSources.ts
alex4108 Sep 24, 2024
4274bd8
Update defaultSources.ts
alex4108 Sep 24, 2024
f00a3b3
Update defaultSources.ts
alex4108 Sep 24, 2024
60e9ae7
Update dist
alex4108 Sep 24, 2024
2f1ba23
Update defaultSources.ts
alex4108 Sep 24, 2024
49e9b32
Update dist
alex4108 Sep 24, 2024
947d02e
Update IActions.ts
alex4108 Sep 24, 2024
902c686
Update dist
alex4108 Sep 24, 2024
a094cb7
Update package.json
alex4108 Sep 24, 2024
1e97b96
PR Feedback
alex4108 Sep 25, 2024
05db7ed
Merge branch 'main' of github.com:alex4108/android-tv-card
alex4108 Sep 25, 2024
7d3cf47
README bump
alex4108 Sep 25, 2024
69cb1bf
Update dist
alex4108 Sep 25, 2024
3456469
Add default sources
alex4108 Sep 25, 2024
e89c5dd
Update dist
alex4108 Sep 25, 2024
dfcfb46
Merge branch 'dev' into main
Nerwyn Nov 5, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +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
alex4108 marked this conversation as resolved.
Show resolved Hide resolved

## Action Timings

Expand Down
6 changes: 3 additions & 3 deletions dist/universal-remote-card.min.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 11 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "universal-remote-card",
"version": "4.0.5",
"version": "4.0.6",
"description": "Universal Remote Card",
"main": "./dist/universal-remote-card.min.js",
"scripts": {
Expand All @@ -20,6 +20,15 @@
"keywords": [
"androidtv",
"android",
"bravia",
"roku",
"webos",
"firetv",
"kodi",
"appletv",
"samsungtv",
"samsung",
"apple",
"googletv",
"google",
"tvcard",
Expand Down Expand Up @@ -54,6 +63,6 @@
"ts-loader": "latest",
"typescript": "latest",
"webpack": "latest",
"webpack-cli": "latest"
"webpack-cli": "^5.1.4"
}
}
3 changes: 2 additions & 1 deletion src/models/interfaces/IActions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@ export const KeyboardPlatforms = [
'Fire TV',
'Roku',
'Kodi',
'Sony BRAVIA'
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since Sony BRAVIA is a keyboard platform, it should also be added to the switch cases in keyboard-dialog.ts as well. Android TV uses a mix of ADB and the Android TV remote API, and Fire TV uses purely ADB. Can you add it to the appropriate cases? I imagine it needs purely ADB (Fire TV) but you should do some tests.

] as const;
export type KeyboardPlatform = (typeof KeyboardPlatforms)[number];
export const Platforms = [
...KeyboardPlatforms,
Nerwyn marked this conversation as resolved.
Show resolved Hide resolved
'Apple TV',
'Samsung TV',
'LG webOS',
'LG webOS'
] as const;
export type Platform = (typeof Platforms)[number];

Expand Down
Loading