Skip to content

Commit

Permalink
Better sensor naming
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentwolsink committed Aug 9, 2023
1 parent 69194f7 commit 08f133d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/aguaiot/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def unique_id(self):
@property
def name(self):
"""Return the name of the device, if any."""
return self.entity_description.name
return f"{self._device.name} {self.entity_description.name}"

@property
def device_info(self):
Expand Down

0 comments on commit 08f133d

Please sign in to comment.