KrzysztofHajdamowicz / home-assistant-vacuum-styj02ym

80 stars 25 forks source link

HA 2021.12.2 warnings #24

Closed va77 closed 2 years ago

va77 commented 2 years ago

Hi. 2021-12-18 18:29:27 WARNING (MainThread) [homeassistant.helpers.entity] Entity vacuum.pylesos (<class 'custom_components.miio2.vacuum.MiroboVacuum2'>) implements device_state_attributes. Please report it to the custom component author.

va77 commented 2 years ago

Any update related to this warning?

mrwogu commented 2 years ago

+1

va77 commented 2 years ago

Any update ?

Mick51 commented 2 years ago

Any update ?

carvalr commented 2 years ago

Just update the file vacuum.py and replace the function name from "device_state_attributes" to "extra_state_attributes" and restart HA.

image

KrzysztofHajdamowicz commented 2 years ago

Hi, sorry for late reply. It's fixed in recent release.