AlexxIT / VacuumZones

Control zone cleaning for Xiaomi vacuum cleaners from voice assistants and Home Assistant
https://github.com/AlexxIT/Blog
72 stars 4 forks source link

Warning after vacuum start #10

Open 67rinat opened 9 months ago

67rinat commented 9 months ago

Logger: homeassistant.helpers.entity Source: helpers/entity.py:738 First occurred: 13:55:29 (2 occurrences) Last logged: 13:55:29

Entity vacuum.spalnia (<class 'custom_components.vacuum_zones.vacuum.XiaomiVacuum'>) is using self.async_update_ha_state(), without enabling force_update. Instead it should use self.async_write_ha_state(), please report it to the custom integration author

perfect-deform commented 9 months ago

Такая же ошибка.

Заменил

await self.async_update_ha_state()

на

self.async_write_ha_state()

в /config/custom_components/vacuum_zones/vacuum.py и ошибка пропала