Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Sensor attributes and Database #1381

Open
andrewjswan opened this issue Jul 24, 2024 · 0 comments
Open

[Bug]: Sensor attributes and Database #1381

andrewjswan opened this issue Jul 24, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@andrewjswan
Copy link

andrewjswan commented Jul 24, 2024

What happened?

We write a lot of information to the database on changing attributes. The information is generally meaningless, and is duplicated on each sensor.
Example: Xiaomi temperature and humidity sensor, we get 3 sensors, temperature, humidity, rssi, and each sensor has the same set of attributes, which changes and clutters the database.
Option 1, remove attributes altogether.
Option 2, remove attributes from the rssi sensor
Option 3, do not save attributes to the database, as is done in 2024.7 for the SQL sensor.

Sensor type

all

Relevant log output

entity_id count size in bytes
binary_sensor.ble_motion_bedroom_mi 456917 77139674
@andrewjswan andrewjswan added the bug Something isn't working label Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants