From bb99d07d82ad426c4008512ed9258866a7899939 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Hjelseth=20H=C3=B8yer?= Date: Sat, 27 Nov 2021 11:18:58 +0100 Subject: [PATCH] Remove unused constant in Tibber (#60439) --- homeassistant/components/tibber/sensor.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/homeassistant/components/tibber/sensor.py b/homeassistant/components/tibber/sensor.py index 9a19e5a7602..e6a305b6f61 100644 --- a/homeassistant/components/tibber/sensor.py +++ b/homeassistant/components/tibber/sensor.py @@ -47,7 +47,6 @@ ICON = "mdi:currency-usd" SCAN_INTERVAL = timedelta(minutes=1) MIN_TIME_BETWEEN_UPDATES = timedelta(minutes=5) PARALLEL_UPDATES = 0 -SIGNAL_UPDATE_ENTITY = "tibber_rt_update_{}" RT_SENSORS: tuple[SensorEntityDescription, ...] = ( @@ -301,7 +300,7 @@ class TibberSensorElPrice(TibberSensor): } self._attr_icon = ICON self._attr_name = f"Electricity price {self._home_name}" - self._attr_unique_id = f"{self._tibber_home.home_id}" + self._attr_unique_id = self._tibber_home.home_id self._model = "Price Sensor" self._device_name = self._attr_name