6
6
from typing import TYPE_CHECKING
7
7
8
8
from homeassistant .components .sensor import SensorEntity , SensorEntityDescription
9
- from homeassistant .const import PERCENTAGE , EntityCategory
10
9
11
10
from .const import DOMAIN
12
11
from .entity import TrinnovAltitudeEntity
@@ -33,13 +32,11 @@ class TrinnovAltitudeSensorEntityDescription(SensorEntityDescription):
33
32
TrinnovAltitudeSensorEntityDescription (
34
33
key = "audiosync" ,
35
34
translation_key = "audiosync" ,
36
- entity_category = EntityCategory .DIAGNOSTIC ,
37
35
value_fn = lambda device : device .audiosync ,
38
36
),
39
37
TrinnovAltitudeSensorEntityDescription (
40
38
key = "decoder" ,
41
39
translation_key = "decoder" ,
42
- entity_category = EntityCategory .DIAGNOSTIC ,
43
40
value_fn = lambda device : device .decoder ,
44
41
),
45
42
TrinnovAltitudeSensorEntityDescription (
@@ -55,13 +52,11 @@ class TrinnovAltitudeSensorEntityDescription(SensorEntityDescription):
55
52
TrinnovAltitudeSensorEntityDescription (
56
53
key = "source_format" ,
57
54
translation_key = "source_format" ,
58
- entity_category = EntityCategory .DIAGNOSTIC ,
59
55
value_fn = lambda device : device .source_format ,
60
56
),
61
57
TrinnovAltitudeSensorEntityDescription (
62
58
key = "upmixer" ,
63
59
translation_key = "upmixer" ,
64
- entity_category = EntityCategory .DIAGNOSTIC ,
65
60
value_fn = lambda device : device .upmixer ,
66
61
),
67
62
TrinnovAltitudeSensorEntityDescription (
0 commit comments