From 1a9fa5ec96583ac13eff1d1c9e1ce00960096969 Mon Sep 17 00:00:00 2001 From: Jordan Harvey Date: Mon, 24 Jun 2024 21:55:14 +0000 Subject: [PATCH] fix lint errors --- custom_components/fuel_prices/sensor.py | 1 + 1 file changed, 1 insertion(+) diff --git a/custom_components/fuel_prices/sensor.py b/custom_components/fuel_prices/sensor.py index 00e1736..53c2c9c 100644 --- a/custom_components/fuel_prices/sensor.py +++ b/custom_components/fuel_prices/sensor.py @@ -121,6 +121,7 @@ def state_class(self) -> str: class CheapestFuelSensor(CheapestFuelEntity, SensorEntity): """A entity that shows the cheapest fuel for an area.""" + _attr_should_poll = True # we need to query the module for this data _last_update = None _next_update = datetime.now()