We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1578510 + 82ee167 commit 3bdf2c0Copy full SHA for 3bdf2c0
custom_components/knmi/sensor.py
@@ -15,6 +15,7 @@
15
SensorEntityDescription,
16
SensorStateClass,
17
)
18
+from homeassistant.helpers.entity import EntityCategory
19
from homeassistant.helpers.entity_platform import AddEntitiesCallback
20
from homeassistant.helpers.typing import StateType
21
from homeassistant.helpers.update_coordinator import CoordinatorEntity
@@ -44,6 +45,12 @@
44
45
native_unit_of_measurement=PERCENTAGE,
46
state_class=SensorStateClass.MEASUREMENT,
47
),
48
+ SensorEntityDescription(
49
+ key="plaats",
50
+ name="Plaats",
51
+ icon="mdi:map-marker",
52
+ entity_category=EntityCategory.DIAGNOSTIC,
53
+ ),
54
SensorEntityDescription(
55
key="samenv",
56
name="Omschrijving",
0 commit comments