From: Giorgio Ravera Date: Wed, 16 Dec 2020 22:36:49 +0000 (+0100) Subject: Fixed _name in standalone script (resources.py) X-Git-Tag: v0.7~4 X-Git-Url: http://git.giorgioravera.it/?a=commitdiff_plain;h=9e6459ea47d66b0c2a259f64ad3a835291a78b13;p=mercedes_me_api.git Fixed _name in standalone script (resources.py) --- diff --git a/resources.py b/resources.py index 9259323..7c2d280 100644 --- a/resources.py +++ b/resources.py @@ -67,7 +67,7 @@ class MercedesMeResource: def name(self): """Return the name of the sensor.""" - return f"{self._vin}_{self.name}" + return f"{self._vin}_{self._name}" def state(self): """Return state for the sensor."""