PiotrMachowski / Home-Assistant-custom-components-Xiaomi-Cloud-Map-Extractor

This custom integration provides a way to present a live view of a map for Xiaomi (Roborock/Viomi/Roidmi/Dreame) vacuums without a need for rooting.
MIT License
1.15k stars 122 forks source link

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 #526

Closed nilsoo closed 5 months ago

nilsoo commented 5 months ago

Checklist

The problem

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> see: https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation

What version of an integration has described problem?

v2.2.1

What was the last working version of an integration?

No response

What vacuum model do you have problems with?

roborock

What version of Home Assistant do you use?

Core-2024.4.2

What type of installation are you running?

Home Assistant OS

Camera's configuration

-

Errors shown in the HA logs (if applicable)

Yes

Additional information

No response

PiotrMachowski commented 5 months ago

Duplicate of #505