Open labanex opened 1 month ago
@labanex thanks for reporting this issue.
It has been fixed in the recently published 0.3.1 version.
Please update the custom component and get back to me with results.
Hi, I tried manualy update this component to 0.3.1 as you mentioned, but still not works
This later issue is an installation issue. You should install it via HACS the restart HA.
Hi I just installed anniversaries, (it wasn't listed as "Upcoming anniversary") via HACs and restarted.
I added events just like the example and on checking the configuration received the following errors:
Configuration warnings Integration error: anniversaries - Integration 'anniversaries' not found. Integration error: name - Integration 'name' not found. Integration error: multiple - Integration 'multiple' not found. Integration error: platform - Integration 'platform' not found.
It doesn't seem to find the integration
Thanks
@marto68 please note that the example from the README has a format for the case when the anniversary sensor is in one dedicated file which - together with other sensor definition files - is included with sensor: !include_dir_list sensors
in configuration.yaml:
(ha_venv3_12) thin620t:~/homeassistant_conf $grep "^sensor" configuration.yaml
sensor: !include_dir_list sensors
(ha_venv3_12) thin620t:~/homeassistant_conf $head -5 sensors/anniversaries.yaml
platform: anniversary
name: events
anniversaries:
- event: 'Ákos'
date: '2004-1-15'
(ha_venv3_12) thin620t:~/homeassistant_conf $
@labanex when installed properly, it works in 2024.10.x as well:
(ha_venv3_12) thin620t:~/homeassistant_conf $curl -H @hass_header.txt http://192.168.1.32:8123/api/states/sensor.current_version
{"entity_id":"sensor.current_version","state":"2024.10.1","attributes":{"friendly_name":"Current Version"},"last_changed":"2024-10-06T10:40:07.631511+00:00","last_reported":"2024-10-06T10:40:07.631511+00:00","last_updated":"2024-10-06T10:40:07.631511+00:00","context":{"id":"01J9GPMHEFD4Q9BQHH32RJAYYV","parent_id":null,"user_id":null}}
(ha_venv3_12) thin620t:~/homeassistant_conf $curl -s -H @hass_header.txt http://192.168.1.32:8123/api/states/sensor.events | python -m json.tool | grep -A3 -B4 Krisztina
{
"event_on": "2025-08-05",
"icon": "mdi:calendar",
"type": "event",
"event": "Krisztina nap",
"event_in": "302",
"anniversary": "None"
},
(ha_venv3_12) thin620t:~/homeassistant_conf $
Since upgrading to HAOS 2024.10, Anniversaries is not working. Is there a new update coming soon? thank you.