[Support]: Frigate integration is using the deprecated constant MEDIA_CLASS_IMAGE, provoking error messages from Home Assistant. #14464
Replies: 1 comment
-
This is not a Frigate bug. This repo is for Frigate itself, not the HA integration. Also, this particular error has already been fixed for the next version of the HA integration. blakeblackshear/frigate-hass-integration#726 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Checklist
Describe the problem you are having
Home Assistant Core is logging messages complaing that the Frigate integration is using the deprecated constant MEDIA_CLASS_IMAGE.
At this point, the log messages are just warnings. They will become errors in HA Core 2025.10.
Steps to reproduce
`Log details (WARNING)
Logger: homeassistant.components.media_player.const
Source: helpers/deprecation.py:197
integration: Media player (documentation, issues)
First occurred: October 19, 2024 at 1:12:29 PM (6 occurrences)
Last logged: October 19, 2024 at 1:12:29 PM
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
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
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
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
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`
Version
0.14.1-f4f3cfa
In which browser(s) are you experiencing the issue with?
No response
Frigate config file
docker-compose file or Docker CLI command
N/A
Relevant Frigate log output
Relevant go2rtc log output
Operating system
Proxmox
Install method
HassOS Addon
Network connection
Wired
Camera make and model
Various Amcrest models. Specifics probably don't matter in this case.
Screenshots of the Frigate UI's System metrics pages
N/A
Any other information that may be helpful
No response
Beta Was this translation helpful? Give feedback.
All reactions