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

Deprecated supported features values which will be removed in HA Core 2025.1 #537

Open
2 tasks done
Ursli71 opened this issue Jun 26, 2024 · 4 comments
Open
2 tasks done
Assignees
Labels
bug Something isn't working

Comments

@Ursli71
Copy link

Ursli71 commented Jun 26, 2024

Checklist

  • I have updated the integration to the latest version available
  • I have checked if the problem is already reported

The problem

besides the already reported 'SUPPORT_ON_OFF' needed upgrade for HA Core 2025.1 I have another log warning as per below:
Logger: homeassistant.helpers.entity
Quelle: helpers/entity.py:1628
Erstmals aufgetreten: 15:01:25 (1 Vorkommnisse)
Zuletzt protokolliert: 15:01:25

Entity camera.xiaomi_cloud_map_extractor (<class 'custom_components.xiaomi_cloud_map_extractor.camera.VacuumCamera'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <CameraEntityFeature.ON_OFF: 1>, please create a bug report at https://github.com/PiotrMachowski/Home-Assistant-custom-components-Xiaomi-Cloud-Map-Extractor/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation

Thanks for keeping this great integration alive!
Cheers Urs

What version of an integration has described problem?

v2.2.1

What was the last working version of an integration?

still working

What vacuum model do you have problems with?

roborock_s7_maxv

What version of Home Assistant do you use?

core 2024.6.4

What type of installation are you running?

Home Assistant Supervised

Camera's configuration

camera:
  - platform: xiaomi_cloud_map_extractor
    host: !secret xiaomi_vacuum_host
    token: !secret xiaomi_vacuum_token
    username: !secret xiaomi_cloud_username
    password: !secret xiaomi_cloud_password
    store_map_raw: true
    draw: ['all']
    attributes:
      - calibration_points
      - rooms
    store_map_image: true
    store_map_path: "/tmp"
    scan_interval: 8

Errors shown in the HA logs (if applicable)

n/a

Additional information

n/a

@Ursli71 Ursli71 added the bug Something isn't working label Jun 26, 2024
@jserieye
Copy link

Hello,

I have the same problem...

`Enregistreur: homeassistant.helpers.entity
Source: helpers/entity.py:1633
S'est produit pour la première fois: 15:06:37 (1 occurrences)
Dernier enregistrement: 15:06:37

Entity camera.xiaomi_cloud_map_extractor (<class 'custom_components.xiaomi_cloud_map_extractor.camera.VacuumCamera'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <CameraEntityFeature.ON_OFF: 1>, please create a bug report at https://github.com/PiotrMachowski/Home-Assistant-custom-components-Xiaomi-Cloud-Map-Extractor/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation`

@philharmonie
Copy link

Same problem here:

Logger: homeassistant.helpers.entity
Source: helpers/entity.py:1637
First occurred: 9:11:17 PM (2 occurrences)
Last logged: 9:15:21 PM

Entity camera.xiaomi_cloud_map_extractor (<class 'custom_components.xiaomi_cloud_map_extractor.camera.VacuumCamera'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <CameraEntityFeature.ON_OFF: 1>, please create a bug report at https://github.com/PiotrMachowski/Home-Assistant-custom-components-Xiaomi-Cloud-Map-Extractor/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation

In addition I get:

Logger: homeassistant.components.camera
Source: helpers/entity_platform.py:1020
integration: Camera ([documentation](https://www.home-assistant.io/integrations/camera), [issues](https://github.com/home-assistant/core/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+camera%22))
First occurred: 9:12:47 PM (3 occurrences)
Last logged: 9:14:47 PM

Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:30

@Quentame
Copy link

Duplicates #505

@csszokolai
Copy link

Any news on this?

Entity camera.xiaomi_cloud_map_extractor (<class 'custom_components.xiaomi_cloud_map_extractor.camera.VacuumCamera'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <CameraEntityFeature.ON_OFF: 1>, please create a bug report at https://github.com/PiotrMachowski/Home-Assistant-custom-components-Xiaomi-Cloud-Map-Extractor/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants