Skip to content

Commit

Permalink
fix webostv command domain name
Browse files Browse the repository at this point in the history
  • Loading branch information
Nerwyn committed Sep 7, 2024
1 parent 7957137 commit c336811
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 45 deletions.
4 changes: 2 additions & 2 deletions dist/universal-remote-card.min.js

Large diffs are not rendered by default.

80 changes: 40 additions & 40 deletions src/models/maps/webos/defaultKeys.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const webosDefaultKeys: IElementConfig[] = [
name: 'home',
tap_action: {
action: 'perform-action',
perform_action: 'webos.button',
perform_action: 'webostv.button',
data: {
method: 'HOME',
},
Expand All @@ -21,7 +21,7 @@ export const webosDefaultKeys: IElementConfig[] = [
name: 'back',
tap_action: {
action: 'perform-action',
perform_action: 'webos.button',
perform_action: 'webostv.button',
data: {
method: 'BACK',
},
Expand All @@ -33,7 +33,7 @@ export const webosDefaultKeys: IElementConfig[] = [
name: 'menu',
tap_action: {
action: 'perform-action',
perform_action: 'webos.button',
perform_action: 'webostv.button',
data: {
method: 'MENU',
},
Expand All @@ -45,7 +45,7 @@ export const webosDefaultKeys: IElementConfig[] = [
name: 'dash',
tap_action: {
action: 'perform-action',
perform_action: 'webos.button',
perform_action: 'webostv.button',
data: {
method: 'DASH',
},
Expand All @@ -57,7 +57,7 @@ export const webosDefaultKeys: IElementConfig[] = [
name: 'exit',
tap_action: {
action: 'perform-action',
perform_action: 'webos.button',
perform_action: 'webostv.button',
data: {
method: 'EXIT',
},
Expand All @@ -69,7 +69,7 @@ export const webosDefaultKeys: IElementConfig[] = [
name: 'volume_up',
tap_action: {
action: 'perform-action',
perform_action: 'webos.button',
perform_action: 'webostv.button',
data: {
method: 'VOLUMEUP',
},
Expand All @@ -82,7 +82,7 @@ export const webosDefaultKeys: IElementConfig[] = [
name: 'volume_down',
tap_action: {
action: 'perform-action',
perform_action: 'webos.button',
perform_action: 'webostv.button',
data: {
method: 'VOLUMEDOWN',
},
Expand All @@ -95,7 +95,7 @@ export const webosDefaultKeys: IElementConfig[] = [
name: 'volume_mute',
tap_action: {
action: 'perform-action',
perform_action: 'webos.button',
perform_action: 'webostv.button',
data: {
method: 'MUTE',
},
Expand Down Expand Up @@ -126,7 +126,7 @@ export const webosDefaultKeys: IElementConfig[] = [
name: 'up',
tap_action: {
action: 'perform-action',
perform_action: 'webos.button',
perform_action: 'webostv.button',
data: {
method: 'UP',
},
Expand All @@ -139,7 +139,7 @@ export const webosDefaultKeys: IElementConfig[] = [
name: 'down',
tap_action: {
action: 'perform-action',
perform_action: 'webos.button',
perform_action: 'webostv.button',
data: {
method: 'DOWN',
},
Expand All @@ -152,7 +152,7 @@ export const webosDefaultKeys: IElementConfig[] = [
name: 'left',
tap_action: {
action: 'perform-action',
perform_action: 'webos.button',
perform_action: 'webostv.button',
data: {
method: 'LEFT',
},
Expand All @@ -165,7 +165,7 @@ export const webosDefaultKeys: IElementConfig[] = [
name: 'right',
tap_action: {
action: 'perform-action',
perform_action: 'webos.button',
perform_action: 'webostv.button',
data: {
method: 'RIGHT',
},
Expand All @@ -178,7 +178,7 @@ export const webosDefaultKeys: IElementConfig[] = [
name: 'center',
tap_action: {
action: 'perform-action',
perform_action: 'webos.button',
perform_action: 'webostv.button',
data: {
method: 'ENTER',
},
Expand All @@ -200,15 +200,15 @@ export const webosDefaultKeys: IElementConfig[] = [
name: 'touchpad',
tap_action: {
action: 'perform-action',
perform_action: 'webos.button',
perform_action: 'webostv.button',
data: {
method: 'ENTER',
},
},
up: {
tap_action: {
action: 'perform-action',
perform_action: 'webos.button',
perform_action: 'webostv.button',
data: {
method: 'UP',
},
Expand All @@ -218,7 +218,7 @@ export const webosDefaultKeys: IElementConfig[] = [
down: {
tap_action: {
action: 'perform-action',
perform_action: 'webos.button',
perform_action: 'webostv.button',
data: {
method: 'DOWN',
},
Expand All @@ -228,7 +228,7 @@ export const webosDefaultKeys: IElementConfig[] = [
left: {
tap_action: {
action: 'perform-action',
perform_action: 'webos.button',
perform_action: 'webostv.button',
data: {
method: 'LEFT',
},
Expand All @@ -238,7 +238,7 @@ export const webosDefaultKeys: IElementConfig[] = [
right: {
tap_action: {
action: 'perform-action',
perform_action: 'webos.button',
perform_action: 'webostv.button',
data: {
method: 'RIGHT',
},
Expand All @@ -251,7 +251,7 @@ export const webosDefaultKeys: IElementConfig[] = [
name: 'play',
tap_action: {
action: 'perform-action',
perform_action: 'webos.button',
perform_action: 'webostv.button',
data: {
method: 'PLAY',
},
Expand All @@ -263,7 +263,7 @@ export const webosDefaultKeys: IElementConfig[] = [
name: 'pause',
tap_action: {
action: 'perform-action',
perform_action: 'webos.button',
perform_action: 'webostv.button',
data: {
method: 'PAUSE',
},
Expand All @@ -275,7 +275,7 @@ export const webosDefaultKeys: IElementConfig[] = [
name: 'channel_up',
tap_action: {
action: 'perform-action',
perform_action: 'webos.button',
perform_action: 'webostv.button',
data: {
method: 'CHANNELUP',
},
Expand All @@ -287,7 +287,7 @@ export const webosDefaultKeys: IElementConfig[] = [
name: 'channel_down',
tap_action: {
action: 'perform-action',
perform_action: 'webos.button',
perform_action: 'webostv.button',
data: {
method: 'CHANNELDOWN',
},
Expand All @@ -299,7 +299,7 @@ export const webosDefaultKeys: IElementConfig[] = [
name: 'red',
tap_action: {
action: 'perform-action',
perform_action: 'webos.button',
perform_action: 'webostv.button',
data: {
method: 'RED',
},
Expand All @@ -311,7 +311,7 @@ export const webosDefaultKeys: IElementConfig[] = [
name: 'green',
tap_action: {
action: 'perform-action',
perform_action: 'webos.button',
perform_action: 'webostv.button',
data: {
method: 'GREEN',
},
Expand All @@ -323,7 +323,7 @@ export const webosDefaultKeys: IElementConfig[] = [
name: 'yellow',
tap_action: {
action: 'perform-action',
perform_action: 'webos.button',
perform_action: 'webostv.button',
data: {
method: 'YELLOW',
},
Expand All @@ -335,7 +335,7 @@ export const webosDefaultKeys: IElementConfig[] = [
name: 'blue',
tap_action: {
action: 'perform-action',
perform_action: 'webos.button',
perform_action: 'webostv.button',
data: {
method: 'BLUE',
},
Expand All @@ -347,7 +347,7 @@ export const webosDefaultKeys: IElementConfig[] = [
name: 'n0',
tap_action: {
action: 'perform-action',
perform_action: 'webos.button',
perform_action: 'webostv.button',
data: {
method: '0',
},
Expand All @@ -359,7 +359,7 @@ export const webosDefaultKeys: IElementConfig[] = [
name: 'n1',
tap_action: {
action: 'perform-action',
perform_action: 'webos.button',
perform_action: 'webostv.button',
data: {
method: '1',
},
Expand All @@ -371,7 +371,7 @@ export const webosDefaultKeys: IElementConfig[] = [
name: 'n2',
tap_action: {
action: 'perform-action',
perform_action: 'webos.button',
perform_action: 'webostv.button',
data: {
method: '2',
},
Expand All @@ -383,7 +383,7 @@ export const webosDefaultKeys: IElementConfig[] = [
name: 'n3',
tap_action: {
action: 'perform-action',
perform_action: 'webos.button',
perform_action: 'webostv.button',
data: {
method: '3',
},
Expand All @@ -395,7 +395,7 @@ export const webosDefaultKeys: IElementConfig[] = [
name: 'n4',
tap_action: {
action: 'perform-action',
perform_action: 'webos.button',
perform_action: 'webostv.button',
data: {
method: '4',
},
Expand All @@ -407,7 +407,7 @@ export const webosDefaultKeys: IElementConfig[] = [
name: 'n5',
tap_action: {
action: 'perform-action',
perform_action: 'webos.button',
perform_action: 'webostv.button',
data: {
method: '5',
},
Expand All @@ -419,7 +419,7 @@ export const webosDefaultKeys: IElementConfig[] = [
name: 'n6',
tap_action: {
action: 'perform-action',
perform_action: 'webos.button',
perform_action: 'webostv.button',
data: {
method: '6',
},
Expand All @@ -431,7 +431,7 @@ export const webosDefaultKeys: IElementConfig[] = [
name: 'n7',
tap_action: {
action: 'perform-action',
perform_action: 'webos.button',
perform_action: 'webostv.button',
data: {
method: '7',
},
Expand All @@ -443,7 +443,7 @@ export const webosDefaultKeys: IElementConfig[] = [
name: 'n8',
tap_action: {
action: 'perform-action',
perform_action: 'webos.button',
perform_action: 'webostv.button',
data: {
method: '8',
},
Expand All @@ -455,7 +455,7 @@ export const webosDefaultKeys: IElementConfig[] = [
name: 'n9',
tap_action: {
action: 'perform-action',
perform_action: 'webos.button',
perform_action: 'webostv.button',
data: {
method: '9',
},
Expand All @@ -472,7 +472,7 @@ export const webosDefaultKeys: IElementConfig[] = [
name: 'asterisk',
tap_action: {
action: 'perform-action',
perform_action: 'webos.button',
perform_action: 'webostv.button',
data: {
method: 'ASTERISK',
},
Expand All @@ -484,7 +484,7 @@ export const webosDefaultKeys: IElementConfig[] = [
name: 'info',
tap_action: {
action: 'perform-action',
perform_action: 'webos.button',
perform_action: 'webostv.button',
data: {
method: 'INFO',
},
Expand All @@ -496,7 +496,7 @@ export const webosDefaultKeys: IElementConfig[] = [
name: 'guide',
tap_action: {
action: 'perform-action',
perform_action: 'webos.button',
perform_action: 'webostv.button',
data: {
method: 'GUIDE',
},
Expand All @@ -508,7 +508,7 @@ export const webosDefaultKeys: IElementConfig[] = [
name: 'captions',
tap_action: {
action: 'perform-action',
perform_action: 'webos.button',
perform_action: 'webostv.button',
data: {
method: 'CC',
},
Expand Down
4 changes: 2 additions & 2 deletions src/models/maps/webos/defaultSources.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const webosDefaultSources: IElementConfig[] = [
name: 'netflix',
tap_action: {
action: 'perform-action',
perform_action: 'webos.button',
perform_action: 'webostv.button',
data: {
method: 'NETFLIX',
},
Expand All @@ -21,7 +21,7 @@ export const webosDefaultSources: IElementConfig[] = [
name: 'primevideo',
tap_action: {
action: 'perform-action',
perform_action: 'webos.button',
perform_action: 'webostv.button',
data: {
method: 'AMAZON',
},
Expand Down
2 changes: 1 addition & 1 deletion src/universal-remote-card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ class UniversalRemoteCard extends LitElement {
case 'media_player':
case 'kodi':
case 'denonavr':
case 'webos':
case 'webostv':
target.entity_id = entity.startsWith(
'media_player',
)
Expand Down

0 comments on commit c336811

Please sign in to comment.