From 0e7e58f1721c8b648edbcde50f0430d041462d17 Mon Sep 17 00:00:00 2001 From: Kees Schollaart Date: Mon, 18 Jun 2018 05:57:08 +0200 Subject: [PATCH] Update PostNL unit of measure to align with UPS (#15023) I'm using both the UPS and PostNL package trackers. I'd like to have the unit of measure to be the same, now they appear in two different graphs in the history view. If we prefer ```package(s)``` over ```package``` then I'll do a PR for [this line](https://github.com/home-assistant/home-assistant/blob/dev/homeassistant/components/sensor/ups.py#L81) --- homeassistant/components/sensor/postnl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/sensor/postnl.py b/homeassistant/components/sensor/postnl.py index 0e296fa56bd..9b35c1fdc7e 100644 --- a/homeassistant/components/sensor/postnl.py +++ b/homeassistant/components/sensor/postnl.py @@ -76,7 +76,7 @@ class PostNLSensor(Entity): @property def unit_of_measurement(self): """Return the unit of measurement of this entity, if any.""" - return 'package(s)' + return 'packages' @property def device_state_attributes(self):