vlebourl / custom_vesync

Custom VeSync component for Home Assistant
97 stars 66 forks source link

Deprecated methods on an instance of NumberEntity, #39

Closed sbelongie closed 2 years ago

sbelongie commented 2 years ago

The problem

There is an upcoming change that may break this custom integration

Logger: homeassistant.components.number Source: components/number/init.py:220 Integration: Number (documentation, issues) First occurred: 9:21:56 AM (4 occurrences) Last logged: 9:21:56 AM

custom_components.vesync.number::VeSyncFanSpeedLevelHA is overriding deprecated methods on an instance of NumberEntity, this is not valid and will be unsupported from Home Assistant 2022.10. Please report it to the custom component author. custom_components.vesync.number::VeSyncHumidifierMistLevelHA is overriding deprecated methods on an instance of NumberEntity, this is not valid and will be unsupported from Home Assistant 2022.10. Please report it to the custom component author. custom_components.vesync.number::VeSyncHumidifierWarmthLevelHA is overriding deprecated methods on an instance of NumberEntity, this is not valid and will be unsupported from Home Assistant 2022.10. Please report it to the custom component author. custom_components.vesync.number::VeSyncHumidifierTargetLevelHA is overriding deprecated methods on an instance of NumberEntity, this is not valid and will be unsupported from Home Assistant 2022.10. Please report it to the custom component author.

What version of this integration has the issue?

0.1.11

What version of Home Assistant Core has the issue?

2022.7.6

Diagnostics

{ "home_assistant": { "installation_type": "Home Assistant OS", "version": "2022.7.6", "dev": false, "hassio": true, "virtualenv": false, "python_version": "3.10.5", "docker": true, "arch": "x86_64", "timezone": "America/Chicago", "os_name": "Linux", "os_version": "5.15.45", "supervisor": "2022.07.0", "host_os": "Home Assistant OS 8.2", "docker_version": "20.10.14", "chassis": "vm", "run_as_root": true }, "custom_components": { "anniversaries": { "version": "4.5.0", "requirements": [ "python-dateutil>=2.8.1", "integrationhelper>=0.2.2", "voluptuous>=0.12.1" ] }, "nfl": { "version": "0.1", "requirements": [ "arrow" ] }, "nws_alerts": { "version": "2.5", "requirements": [] }, "person_location": { "version": "2022.05.30", "requirements": [] }, "multizone_controller": { "version": "1.2", "requirements": [] }, "powercalc": { "version": "v0.24.2", "requirements": [ "numpy>=1.21.1" ] }, "scheduler": { "version": "v0.0.0", "requirements": [] }, "hacs": { "version": "1.26.2", "requirements": [ "aiogithubapi>=22.2.4" ] }, "calendarific": { "version": "0.14.0", "requirements": [ "sampleclient", "integrationhelper" ] }, "nodered": { "version": "1.0.9", "requirements": [] }, "mail_and_packages": { "version": "0.3.5-b4", "requirements": [ "imageio>=2.9.0", "python-resize-image>=1.1.19" ] }, "edgeos": { "version": "1.2.6", "requirements": [ "aiohttp" ] }, "hdhomerun": { "version": "2022.5.1", "requirements": [] }, "jellyfin": { "version": "1.1.1", "requirements": [ "jellyfin-apiclient-python==1.7.2" ] }, "holidays": { "version": "1.8.0", "requirements": [ "python-dateutil>=2.8.2", "holidays>=0.14.2" ] }, "alarmo": { "version": "v1.9.4", "requirements": [] }, "vesync": { "version": "0.1.3", "requirements": [] }, "google_home": { "version": "1.9.14", "requirements": [ "glocaltokens==0.6.7" ] }, "braviatv_psk": { "version": "0.4.2", "requirements": [ "pySonyBraviaPSK==0.2.4" ] }, "frigate": { "version": "2.3", "requirements": [] }, "ytube_music_player": { "version": "20220205.01", "requirements": [ "ytmusicapi==0.19.5", "pytube==10.5.1", "integrationhelper==0.2.2" ] }, "garbage_collection": { "version": "4.8.3", "requirements": [ "python-dateutil>=2.8.2" ] }, "mass": { "version": "2022.7.0", "requirements": [ "music-assistant==1.7.1" ] } }, "integration_manifest": { "domain": "vesync", "name": "VeSync", "documentation": "https://www.home-assistant.io/integrations/vesync", "codeowners": [ "@markperdue", "@webdjoe", "@thegardenmonkey", "@vlebourl" ], "config_flow": true, "iot_class": "cloud_polling", "version": "0.1.3", "issue_tracker": "https://github.com/vlebourl/custom_vesync", "dhcp": [ { "hostname": "levoit-", "macaddress": "" } ], "is_built_in": false }, "data": { "fans": [ { "config_dict": { "module": "VeSyncAirBypass", "models": [ "Core200S", "LAP-C201S-AUSR", "LAP-C202S-WUSR" ], "modes": [ "sleep", "off" ], "features": [], "levels": [ 1, 2, 3 ] }, "config": { "display": false, "display_forever": false }, "details": { "filter_life": 77, "mode": "manual", "level": 0, "display": false, "child_lock": false, "night_light": "off", "display_forever": false } }, { "config_dict": { "module": "VeSyncAirBypass", "models": [ "Core200S", "LAP-C201S-AUSR", "LAP-C202S-WUSR" ], "modes": [ "sleep", "off" ], "features": [], "levels": [ 1, 2, 3 ] }, "config": { "display": false, "display_forever": false }, "details": { "filter_life": 74, "mode": "manual", "level": 0, "display": false, "child_lock": false, "night_light": "off", "display_forever": false } } ], "outlets": [], "switches": [], "bulbs": [] } }

Home Assistant log

Logs ```py Copy/paste any log here, between the starting and ending backticks. ```

Additional information

No response