pinkywafer / Anniversaries

Anniversary Countdown Sensor for Home Assistant
MIT License
161 stars 24 forks source link

HA 2024.10.0b0 breaks integration #165

Open mhoogenbosch opened 3 days ago

mhoogenbosch commented 3 days ago

Error:

Logger: homeassistant.config_entries
Bron: config_entries.py:594
Eerst voorgekomen: 21:30:27 (8 gebeurtenissen)
Laatst gelogd: 21:30:27

Error setting up entry Lieke verjaardag for anniversaries
Error setting up entry Robyn verjaardag for anniversaries
Error setting up entry Jente verjaardag for anniversaries
Error setting up entry Pepijn verjaardag for anniversaries
Error setting up entry Wessel verjaardag for anniversaries
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 594, in async_setup
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/anniversaries/__init__.py", line 62, in async_setup_entry
    config_entry.options = config_entry.data
    ^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 443, in __setattr__
    raise AttributeError(
AttributeError: options cannot be changed directly, use async_update_entry instead

Integration version 5.2.0

bdraco commented 3 days ago

https://developers.home-assistant.io/blog/2024/02/12/async_update_entry/

rononline commented 3 days ago

@pinkywafer is this integration still alive?

cloudbr34k84 commented 3 days ago

adding a +1 as im seeing this as well

rononline commented 3 days ago

I came across this integration: https://github.com/Miicroo/ha-birthdays but I have to try that. If it works the same as this one.

cloudbr34k84 commented 2 days ago

I came across this integration: https://github.com/Miicroo/ha-birthdays but I have to try that. If it works the same as this one.

im installing now to try

mhoogenbosch commented 2 days ago

I came across this integration: https://github.com/Miicroo/ha-birthdays but I have to try that. If it works the same as this one.

Thanks! Installed it and it works. For me, the only requirement is to have a countdown day timer to this specific date, and these are only birthdays. So for me this works great! Removed Anniversaries for now.