Skip to content

Commit 0fdba2e

Browse files
committed
Make content attribute unrecorder
1 parent 89f2219 commit 0fdba2e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

custom_components/file_plusplus/sensor.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,10 @@ async def async_setup_entry(
7777
class FileSensor(SensorEntity):
7878
"""Implementation of a file sensor."""
7979

80+
_entity_component_unrecorded_attributes = frozenset(
81+
{"content"}
82+
)
83+
8084
_attr_icon = FILE_ICON
8185

8286
def __init__(

0 commit comments

Comments
 (0)