enkama / hass-variables

Home Assistant variables component
89 stars 12 forks source link

custom integration 'variable' sets "options" directly to update a config entry - deprecated after update to 2024.3.0 #112

Closed pejotigrek closed 5 months ago

pejotigrek commented 5 months ago

after updating to HA 2024.3.0 this pops up in the log:

2024-03-07 00:41:38.823 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'variable' sets "options" directly to update a config entry. This is deprecated and will stop working in Home Assistant 2024.9, it should be updated to use async_update_entry instead at custom_components/variable/__init__.py, line 172: entry.options = {}, please create a bug report at https://github.com/Wibias/hass-variables/issues
2024-03-07 00:41:42.543 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'variable' sets "options" directly to update a config entry. This is deprecated and will stop working in Home Assistant 2024.9, it should be updated to use async_update_entry instead at custom_components/variable/__init__.py, line 190: entry.options = {}, please create a bug report at https://github.com/Wibias/hass-variables/issues
2024-03-07 00:41:42.552 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'variable' sets "options" directly to update a config entry. This is deprecated and will stop working in Home Assistant 2024.9, it should be updated to use async_update_entry instead at custom_components/variable/__init__.py, line 203: entry.options = {}, please create a bug report at https://github.com/Wibias/hass-variables/issues
2024-03-07 00:42:33.609 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'variable' sets "options" directly to update a config entry. This is deprecated and will stop working in Home Assistant 2024.9, it should be updated to use async_update_entry instead at custom_components/variable/sensor.py, line 93: config_entry.options = {}, please create a bug report at https://github.com/Wibias/hass-variables/issues
V4ler1an commented 5 months ago

Same.

madsdyd commented 5 months ago

Same for 2024.3.1 (probably "douh, obviously")