Exclude tankerkoenig attributes from recording (#112109)
parent
4eb24b2db7
commit
f20e1ad560
|
@ -64,6 +64,19 @@ class FuelPriceSensor(TankerkoenigCoordinatorEntity, SensorEntity):
|
|||
_attr_attribution = ATTRIBUTION
|
||||
_attr_state_class = SensorStateClass.MEASUREMENT
|
||||
_attr_native_unit_of_measurement = CURRENCY_EURO
|
||||
_unrecorded_attributes = frozenset(
|
||||
{
|
||||
ATTR_BRAND,
|
||||
ATTR_CITY,
|
||||
ATTR_HOUSE_NUMBER,
|
||||
ATTR_POSTCODE,
|
||||
ATTR_STATION_NAME,
|
||||
ATTR_STREET,
|
||||
ATTRIBUTION,
|
||||
ATTR_LATITUDE,
|
||||
ATTR_LONGITUDE,
|
||||
}
|
||||
)
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
|
|
Loading…
Reference in New Issue