Skip to content

Commit

Permalink
autofill target entity ID with media player ID for action domain andr…
Browse files Browse the repository at this point in the history
…oidtv (adb), fix layout editor custom actions from file list not appearing if no custom actions in config
  • Loading branch information
Nerwyn committed Nov 9, 2024
1 parent 136c81d commit 8fc4ae0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions dist/universal-remote-card.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/universal-remote-card-editor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1928,7 +1928,7 @@ export class UniversalRemoteCardEditor extends LitElement {
<div class="layout-editor">
${this.buildCodeEditor('layout')}
<div class="actions-list-container">
${this.config.custom_actions?.length
${customActions?.length
? html`<div
class="action-list-container custom-action-list-container"
>
Expand Down
1 change: 1 addition & 0 deletions src/universal-remote-card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ class UniversalRemoteCard extends LitElement {
: this.config.remote_id;
break;
case 'media_player':
case 'androidtv':
case 'kodi':
case 'denonavr':
case 'webostv':
Expand Down

0 comments on commit 8fc4ae0

Please sign in to comment.