Fix argument name in async_update_ha_state warning message (#113969)

Fixed warning message using async_update_ha_state
This commit is contained in:
Paul Chanvin 2024-03-22 02:26:11 +01:00 committed by GitHub
parent 5f5d40ed52
commit b2cab70cc0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -957,7 +957,7 @@ class Entity(
_LOGGER.warning(
(
"Entity %s (%s) is using self.async_update_ha_state(), without"
" enabling force_update. Instead it should use"
" enabling force_refresh. Instead it should use"
" self.async_write_ha_state(), please %s"
),
self.entity_id,