Add device class TV to AndroidTV (#78487)

This commit is contained in:
ollo69
2022-09-15 08:56:30 +02:00
committed by GitHub
parent c0cf9d8729
commit aa46ba4ad5

View File

@@ -21,6 +21,7 @@ import voluptuous as vol
from homeassistant.components import persistent_notification
from homeassistant.components.media_player import (
MediaPlayerDeviceClass,
MediaPlayerEntity,
MediaPlayerEntityFeature,
MediaPlayerState,
@@ -205,6 +206,8 @@ def adb_decorator(
class ADBDevice(MediaPlayerEntity):
"""Representation of an Android TV or Fire TV device."""
_attr_device_class = MediaPlayerDeviceClass.TV
def __init__(
self,
aftv,