-
Notifications
You must be signed in to change notification settings - Fork 16
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
Using self.async_update_ha_state() #99
Comments
Does this still appear for you on 2023.5.3? It looks like the warning was potentially erroneous up until then. |
Yes it's still present in the logs even after updating to HA version 2023.5.3 |
Hi, same here: Protokolldetails (WARNUNG) Entity var.tsoll_studio_new (<class 'custom_components.var.Variable'>) is using self.async_update_ha_state(), without enabling force_update. Instead it should use self.async_write_ha_state(), please report it to the custom integration author. Entity var.gas_per_day (<class 'custom_components.var.Variable'>) is using self.async_update_ha_state(), without enabling force_update. Instead it should use self.async_write_ha_state(), please report it to the custom integration author. Entity var.burner_daily_runtime (<class 'custom_components.var.Variable'>) is using self.async_update_ha_state(), without enabling force_update. Instead it should use self.async_write_ha_state(), please report it to the custom integration author. HA: Home Assistant 2023.5.4 var Component: { |
Hi, Logger: homeassistant.helpers.entity Entity var.nina_birthday_days2go (<class 'custom_components.var.Variable'>) is using self.async_update_ha_state(), without enabling force_update. Instead it should use self.async_write_ha_state(), please report it to the custom integration author. home-assistant-variables |
Hi, Got this too and stiil there in HA 2023.8.1 |
Hello, I have the same warning, I am in HA 2023.8.4 2023-08-30 11:19:04.490 WARNING (MainThread) [homeassistant.helpers.entity] Entity var.stock_mode_absent (<class 'custom_components.var.Variable'>) is using self.async_update_ha_state(), without enabling force_update. Instead it should use self.async_write_ha_state(), please report it to the custom integration author. |
System Information
Home Assistant Cloud
Home Assistant Supervisor
Dashboards
Recorder
|
I created a new pull request #103 which is slightly different than pull request #100. I also am not a python programmer so I do not know the absolute correct way of fixing this but my PR has eliminated the error message and the var integration is working for me. All I had to change was line 448: |
I have but only tested various changes this seems to delete the warning also in my case it works |
Hello.
After updating Home Assistant to version 2023.5.0 this message appeared in the error log:
Could you please take a look to it? Thank you.
The text was updated successfully, but these errors were encountered: