Remove media class apps and channels (#39864)

This commit is contained in:
Martin Hjelmare 2020-09-09 22:19:52 +02:00 committed by GitHub
parent 9358b5089e
commit e6bc48ab68
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 12 deletions

View file

@ -6,7 +6,6 @@ from typing import List, Optional, Tuple
from homeassistant.components.media_player import BrowseMedia
from homeassistant.components.media_player.const import (
MEDIA_CLASS_CHANNEL,
MEDIA_CLASS_CHANNELS,
MEDIA_TYPE_CHANNEL,
MEDIA_TYPE_CHANNELS,
)
@ -54,7 +53,7 @@ class MediaSourceItem:
base = BrowseMediaSource(
domain=None,
identifier=None,
media_class=MEDIA_CLASS_CHANNELS,
media_class=MEDIA_CLASS_CHANNEL,
media_content_type=MEDIA_TYPE_CHANNELS,
title="Media Sources",
can_play=False,