From 0e70121a6fde75dbe93fbaefee10e08385a4b06b Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Sat, 4 Dec 2021 13:52:42 +0100 Subject: [PATCH] Fix typo in state_characteristic warning (#60990) --- homeassistant/components/statistics/sensor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/statistics/sensor.py b/homeassistant/components/statistics/sensor.py index a931a4cf8066..f9ed6863af8d 100644 --- a/homeassistant/components/statistics/sensor.py +++ b/homeassistant/components/statistics/sensor.py @@ -62,9 +62,9 @@ STAT_VARIANCE = "variance" STAT_DEFAULT = "default" DEPRECATION_WARNING = ( - "The configuration parameter 'state_characteristics' will become " + "The configuration parameter 'state_characteristic' will become " "mandatory in a future release of the statistics integration. " - "Please add 'state_characteristics: %s' to the configuration of " + "Please add 'state_characteristic: %s' to the configuration of " 'sensor "%s" to keep the current behavior. Read the documentation ' "for further details: " "https://www.home-assistant.io/integrations/statistics/"