toreamun/amshan-homeassistant

EventType is a deprecated alias which will be removed in HA Core 2025.5

Closed this issue · 3 comments

Version of the custom_component

2023.6.0 (latest release)

Configuration

amshan:

Describe the bug

Home Assistant warns that amshan-homeassistant is using deprecated code that will be removed in HA Core 2025.5.

Debug log

The Home Assistant warning:

Logger: homeassistant.helpers.typing
Source: helpers/deprecation.py:206
First occurred: 20:08:46 (4 occurrences)
Last logged: 20:08:46

    EventType was used from amshan, this is a deprecated alias which will be removed in HA Core 2025.5. Use homeassistant.core.Event instead, please report it to the author of the 'amshan' custom integration
    HomeAssistantType was used from amshan, this is a deprecated alias which will be removed in HA Core 2025.5. Use homeassistant.core.HomeAssistant instead, please report it to the author of the 'amshan' custom integration

A fix is on its way, but this is not a big problem (only log warnings) until may 2025.

Should be fixed in next release

Thanks!