Skip to content

Commit

Permalink
Added 3 new category sensors
Browse files Browse the repository at this point in the history
  • Loading branch information
briis committed Mar 22, 2024
1 parent f5b41da commit 7bbc53a
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions custom_components/affalddk/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,16 @@ class AffaldDKSensorEntityDescription(SensorEntityDescription):
name="Rest- & madaffald",
native_unit_of_measurement="dage",
),
AffaldDKSensorEntityDescription(
key="batterier",
name="Batterier",
native_unit_of_measurement="dage",
),
AffaldDKSensorEntityDescription(
key="elektronik",
name="Elektronik",
native_unit_of_measurement="dage",
),
AffaldDKSensorEntityDescription(
key="glas",
name="Glas",
Expand All @@ -69,6 +79,11 @@ class AffaldDKSensorEntityDescription(SensorEntityDescription):
name="Papir, Pap & Glas",
native_unit_of_measurement="dage",
),
AffaldDKSensorEntityDescription(
key="papirglasdaaser",
name="Papir, Glas & Dåser",
native_unit_of_measurement="dage",
),
AffaldDKSensorEntityDescription(
key="pappi",
name="Papir & Plast",
Expand Down

0 comments on commit 7bbc53a

Please sign in to comment.