-
-
Notifications
You must be signed in to change notification settings - Fork 28.6k
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
Starline: consecutive records with same states & attributes are written to DB #111524
Comments
Hey there @Anonym-tsk, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) starline documentation |
This happens because the attributes change. What's wrong with these records? |
Maybe schedule_update_ha_state() publishes update for each call, I don't know. @joostlek please help |
I assume |
Should this method update state if it hasn't changed? Or should the component itself determine the state change? @frenck |
Please don't ping random people. This will only have a counter productive effect. Instead formulate a question and put it in the discord #devs channel for example |
But yes, if you ask to update the ha state, it will update the state and that is also stored |
Is this issue planned to be fixed? |
There is a similar issue #111517 What we can see here in this Starline issue:
Thoughts:
Based on said above - I have to accept the current fact "DB is flooded by same rows". |
The problem
Here is a
states
table filtered for some particulardevice_tracker
entity:The
state
is same.Even the
attributes_id
is same.Then why there are several consecutive records about same?
What version of Home Assistant Core has the issue?
2024.2.3
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Container
Integration causing the issue
starline
Link to integration documentation on our website
https://www.home-assistant.io/integrations/starline/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: