Skip to content

Commit

Permalink
add device class for light sensor
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrilp committed Mar 3, 2024
1 parent c4ad717 commit 15e5f50
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion custom_components/deltadore_tydom/ha_entities.py
Original file line number Diff line number Diff line change
Expand Up @@ -820,7 +820,9 @@ class HaLight(LightEntity, HAEntity):
"""Representation of a Light."""

should_poll = False
sensor_classes = {}
sensor_classes = {
"thermic_defect": BinarySensorDeviceClass.PROBLEM,
}
color_mode = set()
supported_color_modes = set()

Expand Down

0 comments on commit 15e5f50

Please sign in to comment.