Closed ercsey closed 11 months ago
Does this still appear for you on 2023.5.3? It looks like the warning was potentially erroneous up until then.
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) Logger: homeassistant.helpers.entity Source: helpers/entity.py:560 First occurred: 31. Mai 2023 um 23:00:00 (3 occurrences) Last logged: 31. Mai 2023 um 23:59:45
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 Supervisor 2023.04.1 Operating System 10.2
var Component:
{ "domain": "var", "name": "Variable", "version": "0.15.0",
Hi, it's still there also in HA 2023.6.3
Logger: homeassistant.helpers.entity Source: helpers/entity.py:565
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 v0.15.0
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.
version | core-2023.9.1 |
---|---|
installation_type | Home Assistant Supervised |
dev | false |
hassio | true |
docker | true |
user | root |
virtualenv | false |
python_version | 3.11.5 |
os_name | Linux |
os_version | 6.1.19-v8+ |
arch | aarch64 |
config_dir | /config |
Logger: homeassistant.helpers.entity
Source: helpers/entity.py:689
First occurred: 15 сентября 2023 г., 20:00:00 (5 occurrences)
Last logged: 15 сентября 2023 г., 20:00:01
Entity var.sended_counter_cold (<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.sended_counter_hot (<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.sended_counter_cold_bath (<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.sended_counter_hot_bath (<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.sended_date (<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.
I created a new pull request https://github.com/snarky-snark/home-assistant-variables/pull/103 which is slightly different than pull request https://github.com/snarky-snark/home-assistant-variables/pull/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: await self.async_update_ha_state() --> await self.async_update_ha_state(True)
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: await self.async_update_ha_state() --> await self.async_update_ha_state(True)
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.