We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3bf8170 + b36baa1 commit 723f4e9Copy full SHA for 723f4e9
custom_components/nordpool/sensor.py
@@ -108,6 +108,10 @@ class NordpoolSensor(SensorEntity):
108
_attr_device_class = SensorDeviceClass.MONETARY
109
_attr_suggested_display_precision = None
110
_attr_state_class = SensorStateClass.TOTAL
111
+ # Do not write list attributes to database.
112
+ _unrecorded_attributes = frozenset(
113
+ {"raw_today", "raw_tomorrow", "today", "tomorrow"}
114
+ )
115
116
def __init__(
117
self,
0 commit comments