homeassistant-attributes
homeassistant-attributes copied to clipboard
'attributes' calls `async_add_job`, which is deprecated and will be removed in Home Assistant 2025.4
Hi Noticed this in my Home Assistant logs Running all latest updates etc on RPI 5 as of 6th April 2024
2024-04-06 14:52:34.098 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'attributes' calls async_add_job
, which is deprecated and will be removed in Home Assistant 2025.4; Please review https://developers.home-assistant.io/blog/2024/03/13/deprecate_add_run_job for replacement options at custom_components/attributes/sensor.py, line 224: self.hass.async_add_job(self.async_update_ha_state(True)), please create a bug report at https://github.com/pilotak/homeassistant-attributes/issues
2024-04-06 14:52:47.270 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'attributes' calls async_add_job
, which is deprecated and will be removed in Home Assistant 2025.4; Please review https://developers.home-assistant.io/blog/2024/03/13/deprecate_add_run_job for replacement options at custom_components/attributes/sensor.py, line 216: self.hass.async_add_job(self.async_update_ha_state(True)), please create a bug report at https://github.com/pilotak/homeassistant-attributes/issues
thanks for report, at least i have a year to update it
Hehe yeah, only came across it as I spun up a new HA instance from scratch and checked the logs Sent from my iPhone
On 6 Apr 2024, at 5:49 PM, Pavel S @.***> wrote:
thanks for report, at least i have a year to update it
— Reply to this email directly, view it on GitHubhttps://github.com/pilotak/homeassistant-attributes/issues/45#issuecomment-2041033995, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AMCDRZJD75XGEAGY53WEDG3Y37AJ3AVCNFSM6AAAAABF2HMR32VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBRGAZTGOJZGU. You are receiving this because you authored the thread.Message ID: @.***>