Skip to content

Commit

Permalink
Sensor naming bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
vrnagy committed Sep 30, 2020
1 parent 1fe89c8 commit caa19d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/prusa_mini/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def __init__(self, coordinator, name, sensor_name, entity_id):
@property
def name(self):
"""Return the name of the sensor."""
return self._condition_name
return f"{self._name} {self._condition_name}"

@property
def icon(self):
Expand Down

0 comments on commit caa19d9

Please sign in to comment.