romedtino / simple-wyze-vac

Home Assistant Custom Component for Wyze Vacuum
48 stars 8 forks source link

[BUG] Detected integration that called async_setup_platforms instead of awaiting async_forward_entry_setups #49

Closed Scags104 closed 1 year ago

Scags104 commented 1 year ago

Describe the bug Error message appears due to breaking changes in new HA versions: Detected integration that called async_setup_platforms instead of awaiting async_forward_entry_setups; this will fail in version 2023.3. Please report issue to the custom integration author for simple_wyze_vac using this method at custom_components/simple_wyze_vac/init.py, line 94: hass.config_entries.async_setup_platforms(entry, PLATFORMS)

To Reproduce Steps to reproduce the behavior:

  1. Reboot HA
  2. Check Logs

Expected behavior No error message

Screenshots Logs: Detected integration that called async_setup_platforms instead of awaiting async_forward_entry_setups; this will fail in version 2023.3. Please report issue to the custom integration author for simple_wyze_vac using this method at custom_components/simple_wyze_vac/init.py, line 94: hass.config_entries.async_setup_platforms(entry, PLATFORMS)

Simple Wyze Vac Version 1.7.2

Wyze Vacuum Firmware Version N/A

Home Assistant Version 2023.02.0b7

Additional context Add any other context about the problem here.