blakeblackshear/frigate-hass-integration

Depreceated constant warnings for media player

Closed this issue · 1 comments

HA Core: 2024.10.1
Frigate 5.4.0

The following is displayed in the HA logs.

2024-10-09 10:15:18.553 WARNING (ImportExecutor_0) [homeassistant.components.media_player.const] MEDIA_CLASS_DIRECTORY was used from frigate, this is a deprecated constant which will be removed in HA Core 2025.10. Use MediaClass.DIRECTORY instead, please report it to the author of the 'frigate' custom integration
2024-10-09 10:15:18.562 WARNING (ImportExecutor_0) [homeassistant.components.media_player.const] MEDIA_CLASS_IMAGE was used from frigate, this is a deprecated constant which will be removed in HA Core 2025.10. Use MediaClass.IMAGE instead, please report it to the author of the 'frigate' custom integration
2024-10-09 10:15:18.569 WARNING (ImportExecutor_0) [homeassistant.components.media_player.const] MEDIA_CLASS_MOVIE was used from frigate, this is a deprecated constant which will be removed in HA Core 2025.10. Use MediaClass.MOVIE instead, please report it to the author of the 'frigate' custom integration
2024-10-09 10:15:18.579 WARNING (ImportExecutor_0) [homeassistant.components.media_player.const] MEDIA_CLASS_VIDEO was used from frigate, this is a deprecated constant which will be removed in HA Core 2025.10. Use MediaClass.VIDEO instead, please report it to the author of the 'frigate' custom integration
2024-10-09 10:15:18.588 WARNING (ImportExecutor_0) [homeassistant.components.media_player.const] MEDIA_TYPE_IMAGE was used from frigate, this is a deprecated constant which will be removed in HA Core 2025.10. Use MediaType.IMAGE instead, please report it to the author of the 'frigate' custom integration
2024-10-09 10:15:18.597 WARNING (ImportExecutor_0) [homeassistant.components.media_player.const] MEDIA_TYPE_VIDEO was used from frigate, this is a deprecated constant which will be removed in HA Core 2025.10. Use MediaType.VIDEO instead, please report it to the author of the 'frigate' custom integration

Thanks, this has already been fixed