Fix can not typo (#87254)

This commit is contained in:
epenet 2023-02-03 11:37:16 +01:00 committed by GitHub
parent b8a1f87073
commit 810367b757
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
27 changed files with 35 additions and 35 deletions

View file

@ -224,7 +224,7 @@ def _normalize_states(
hass.data[WARN_UNSUPPORTED_UNIT].add(entity_id)
_LOGGER.warning(
(
"The unit of %s (%s) can not be converted to the unit of"
"The unit of %s (%s) cannot be converted to the unit of"
" previously compiled statistics (%s). Generation of long term"
" statistics will be suppressed unless the unit changes back to"
" %s or a compatible unit. Go to %s to fix this"
@ -475,7 +475,7 @@ def _compile_statistics( # noqa: C901
hass.data[WARN_UNSTABLE_UNIT].add(entity_id)
_LOGGER.warning(
(
"The unit of %s (%s) can not be converted to the unit of"
"The unit of %s (%s) cannot be converted to the unit of"
" previously compiled statistics (%s). Generation of long"
" term statistics will be suppressed unless the unit"
" changes back to %s or a compatible unit. Go to %s to fix"