Skip to content

Commit

Permalink
set icon for away temp
Browse files Browse the repository at this point in the history
  • Loading branch information
msp1974 committed Dec 23, 2021
1 parent 4cf08ad commit 4d3a3d9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions custom_components/wiser/number.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,12 @@ def name(self):
"""Return Name of device."""
return f"{get_device_name(self._data, 0, self._name)}"

@property
def icon(self):
"""Icon for device"""
return "mdi:thermometer-low"


@property
def unique_id(self):
return get_unique_id(self._data, "system", "number", self.name)
Expand Down

0 comments on commit 4d3a3d9

Please sign in to comment.