diff --git a/src/data/media-player.ts b/src/data/media-player.ts index 38a288d17e..4470156588 100644 --- a/src/data/media-player.ts +++ b/src/data/media-player.ts @@ -51,6 +51,7 @@ interface MediaPlayerEntityAttributes extends HassEntityAttributeBase { media_duration?: number; media_position?: number; media_title?: string; + media_channel?: string; icon?: string; entity_picture_local?: string; is_volume_muted?: boolean; @@ -235,6 +236,9 @@ export const computeMediaDescription = ( } } break; + case "channel": + secondaryTitle = stateObj.attributes.media_channel!; + break; default: secondaryTitle = stateObj.attributes.app_name || ""; }