Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Fix deprecated constants warning in HA 2024.10 #1878

Closed

Conversation

hmmbob
Copy link
Contributor

@hmmbob hmmbob commented Sep 26, 2024

Subject says it all.

Fixes #1877

  • CameraState was added in HA 2024.10, so it is breaking for any HA older than this (or: it raises the minimum version for xiaomi_miot to HA 2024.10)
  • MediaType was added in HA 2022.5 already, but was never marked as deprecated. This is non-breaking as you already list HA 2023.1.0 as minimum version.

@al-one
Copy link
Owner

al-one commented Sep 29, 2024

This pull request will make the component no longer support older versions of HA.

@al-one
Copy link
Owner

al-one commented Sep 29, 2024

Fixed in a3c8839

@al-one al-one closed this Sep 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Deprecated constants for HA 2024.10 (MEDIA_TYPE_MUSIC, MEDIA_TYPE_VIDEO, STATE_RECORDING, STATE_STREAMING)
2 participants