Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

SIREN entities named called as SUPPORT_... no more recognized in HA core 2025.1.1 #11

Open
pousca opened this issue Jan 9, 2025 · 7 comments
Assignees

Comments

@pousca
Copy link

pousca commented Jan 9, 2025

As annonced in 2024, I cannot upgrade to core 2025.1.1 because of the depreciated use of SUPPPORT_... entities in the siren.py file . Here is the part of the log I am getting before upgrading to core 2025.1.1:

2025-01-09 17:07:53.436 WARNING (MainThread) [homeassistant.helpers.entity] Entity None (<class 'custom_components.hnap_device.siren.HNAPSiren'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <SirenEntityFeature.TURN_ON|TURN_OFF|TONES|VOLUME_SET|DURATION: 31>, please create a bug report at https://github.com/ldotlopez/ha-hnap-device/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation

Is it possible for you to fix this,. Thanks in advance

@ldotlopez
Copy link
Owner

@pousca, can you check main version?

@pousca
Copy link
Author

pousca commented Jan 10, 2025

@pousca, can you check main version?

I am using HNAP 1.1.1 and HA core 2024.12.5. I am aware there is a HNAP 1.1.2 but looking at the siren.py file I still see the use of SUPPORT_.... entities so I though the upgrade of HNAP would not solve the problem. I can test if if you want.

Alternatively I can upgrade HA to 2025.1.1 and send you the log.

@ldotlopez
Copy link
Owner

I just published a new release (1.2.0) that should fix the issue.

@ldotlopez ldotlopez self-assigned this Jan 10, 2025
@pousca
Copy link
Author

pousca commented Jan 10, 2025 via email

@pousca
Copy link
Author

pousca commented Jan 10, 2025

ha-hnap-device-1.2.0 siren is now working with HA core 2025.1.2
Thanks +++

@pousca pousca closed this as completed Jan 10, 2025
@pousca pousca reopened this Jan 14, 2025
@ldotlopez
Copy link
Owner

@pousca I can't find the comment you made, I got it by mail but it's missing here.
Can you provide more info?

@pousca
Copy link
Author

pousca commented Jan 14, 2025 via email

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants