Consider a template sensor:
template:
- sensor:
- name: my_sensor
state: ...
attributes:
attr_1: xxxx
attr_2: yyyy
Every change of the “sensor.my_sensor” is stored in DB.
Assume that attributes “attr_1” & “attr_2” are static.
A question: are these static values stored for every sensor’s change?
I have been using these static attributes for filtering purpose - like to keep info what a sensor is needed for.
And if DB stores same static values for these attributes for each sensor’s change - than it is a waste of DB volume. Probably DB should store only changing values.
@bdraco - you allowed me to tag you for this topic, so please find this question.
P.S. This is surely not only about template sensors; my question is for entities of any integration/domain since it is possible to manually add attributes via Customization.