Skip to content

The deprecated constant DhcpServiceInfo was used from vesync. #61

@Nightranger4x4

Description

@Nightranger4x4

The problem

Getting the below error message in Home Assistant 10.2:

The deprecated constant DhcpServiceInfo was used from vesync. It will be removed in HA Core 2026.2. Use homeassistant.helpers.service_info.dhcp.DhcpServiceInfo instead, please report it to the author of the 'vesync' custom integration

What version of this integration has the issue?

1.3.3

What version of Home Assistant Core has the issue?

2025.10.2

Diagnostics

Diagnostics
{
  "home_assistant": {
    "installation_type": "Home Assistant OS",
    "version": "2025.10.2",
    "dev": false,
    "hassio": true,
    "virtualenv": false,
    "python_version": "3.13.7",
    "docker": true,
    "arch": "x86_64",
    "timezone": "America/Denver",
    "os_name": "Linux",
    "os_version": "6.12.43-haos",
    "container_arch": "amd64",
    "supervisor": "2025.10.0",
    "host_os": "Home Assistant OS 16.2",
    "docker_version": "28.3.3",
    "chassis": "embedded",
    "run_as_root": true
  },
  "custom_components": {
    "vesync": {
      "documentation": "https://github.com/haext/custom_vesync",
      "version": "1.3.3",
      "requirements": [
        "pyvesync==2.1.12"
      ]
    },
    "spook": {
      "documentation": "https://spook.boo",
      "version": "4.0.1",
      "requirements": []
    },
    "alarmo": {
      "documentation": "https://github.com/nielsfaber/alarmo",
      "version": "1.10.12",
      "requirements": []
    },
    "hacs": {
      "documentation": "https://hacs.xyz/docs/use/",
      "version": "2.0.5",
      "requirements": [
        "aiogithubapi>=22.10.1"
      ]
    },
    "weatheralerts": {
      "documentation": "https://github.com/custom-components/weatheralerts",
      "version": "0.1.5",
      "requirements": []
    },
    "alexa_media": {
      "documentation": "https://github.com/alandtse/alexa_media_player/wiki",
      "version": "5.7.8",
      "requirements": [
        "alexapy==1.29.8",
        "packaging>=20.3",
        "wrapt>=1.14.0"
      ]
    },
    "watchman": {
      "documentation": "https://github.com/dummylabs/thewatchman",
      "version": "0.6.5",
      "requirements": [
        "prettytable==3.12.0"
      ]
    },
    "eyeonwater": {
      "documentation": "https://github.com/kdeyev/eyeonwater",
      "version": "2.5.15",
      "requirements": [
        "pyonwater==0.3.15"
      ]
    },
    "asusrouter": {
      "documentation": "https://asusrouter.vaskivskyi.com",
      "version": "0.40.1",
      "requirements": [
        "asusrouter>=1.21.0"
      ]
    },
    "samsungtv_smart": {
      "documentation": "https://github.com/ollo69/ha-samsungtv-smart",
      "version": "0.14.5",
      "requirements": [
        "websocket-client!=1.4.0,>=0.58.0",
        "wakeonlan>=2.0.0",
        "aiofiles>=0.8.0",
        "casttube>=0.2.1"
      ]
    },
    "spook_inverse": {
      "documentation": "https://spook.boo",
      "version": "4.0.1",
      "requirements": []
    },
    "pirateweather": {
      "documentation": "https://github.com/alexander0042/pirate-weather-ha",
      "version": "1.7.7",
      "requirements": []
    },
    "ge_home": {
      "documentation": "https://github.com/simbaja/ha_gehome",
      "version": "2025.7.0",
      "requirements": [
        "gehomesdk==2025.5.0",
        "magicattr==0.1.6",
        "slixmpp==1.8.3"
      ]
    },
    "ble_monitor": {
      "documentation": "https://github.com/custom-components/ble_monitor",
      "version": "13.10.1",
      "requirements": [
        "pycryptodomex>=3.23.0",
        "janus>=2.0.0",
        "aioblescan>=0.2.14",
        "btsocket>=0.3.0",
        "pyric>=0.1.6.3"
      ]
    }
  },
  "integration_manifest": {
    "domain": "vesync",
    "name": "VeSync",
    "codeowners": [
      "markperdue",
      "webdjoe",
      "thegardenmonkey",
      "vlebourl",
      "tv4you2016",
      "gdgib"
    ],
    "config_flow": true,
    "dhcp": [
      {
        "hostname": "levoit-*",
        "macaddress": "*"
      }
    ],
    "documentation": "https://github.com/haext/custom_vesync",
    "iot_class": "cloud_polling",
    "issue_tracker": "https://github.com/haext/custom_vesync/issues",
    "loggers": [
      "pyvesync"
    ],
    "requirements": [
      "pyvesync==2.1.12"
    ],
    "version": "1.3.3",
    "is_built_in": false,
    "overwrites_built_in": true
  },
  "setup_times": {
    "null": {
      "setup": 4.7909095883369446e-05
    },
    "01K7BNNZX76FW1JQ88F74XYG9V": {
      "wait_import_platforms": -2.726878507062793,
      "config_entry_setup": 4.885654821060598
    }
  },
  "data": {},
  "issues": []
}
``

</details>


### Home Assistant log

<details><summary>Logs</summary>

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

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions