Closed AdriVillaB closed 6 months ago
And I have the same problem:
2024-01-04 16:59:40.211 WARNING (MainThread) [homeassistant.components.alarm_control_panel] FORMAT_NUMBER was used from securitas, this is a deprecated constant which will be removed in HA Core 2025.1. Use CodeFormat.NUMBER instead, please create a bug report at https://github.com/guerrerotook/securitas-direct-new-api/issues
Same issue here : Logger: homeassistant.components.alarm_control_panel Source: helpers/deprecation.py:204 Integration: Alarm control panel (documentation, issues) First occurred: 08:47:11 (265 occurrences) Last logged: 12:59:11
FORMAT_NUMBER was used from securitas, this is a deprecated constant which will be removed in HA Core 2025.1. Use CodeFormat.NUMBER instead, please create a bug report at https://github.com/guerrerotook/securitas-direct-new-api/issues
Thanks @AdriVillaB for the PR, is already approved.
Hi,
I've upgraded to HomeAsssistant 2024.1 yesterday, and it seems they will deprecate the constant FORMAT_NUMBER in 2025.1, so there is a warning message on the log. They recommed to use CodeFormat.NUMBER instead.
This is the error:
Thanks!