mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Exclude tankerkoenig attributes from recording (#112109)
This commit is contained in:
parent
4eb24b2db7
commit
f20e1ad560
@ -64,6 +64,19 @@ class FuelPriceSensor(TankerkoenigCoordinatorEntity, SensorEntity):
|
|||||||
_attr_attribution = ATTRIBUTION
|
_attr_attribution = ATTRIBUTION
|
||||||
_attr_state_class = SensorStateClass.MEASUREMENT
|
_attr_state_class = SensorStateClass.MEASUREMENT
|
||||||
_attr_native_unit_of_measurement = CURRENCY_EURO
|
_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__(
|
def __init__(
|
||||||
self,
|
self,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user