From 2e0401b26ab6f010f8ace86b50c54b29413204d2 Mon Sep 17 00:00:00 2001 From: robmarkcole Date: Mon, 22 Jan 2018 07:55:18 +0000 Subject: [PATCH] Correct unit of measurement --- custom_components/sensor/database.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/sensor/database.py b/custom_components/sensor/database.py index ee9892e..32f7526 100644 --- a/custom_components/sensor/database.py +++ b/custom_components/sensor/database.py @@ -30,7 +30,7 @@ def __init__(self, path): self._size = None self._name = "Database_sensor" self._attributes = {} - self._unit_of_measurement = 'MiB' + self._unit_of_measurement = 'MB' self.update() def update(self):