From 73c880b6c2174f63336ccc92a305b82be234a999 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 44548c7d1a7..b06589f52c0 100644 --- a/homeassistant/components/statistics/sensor.py +++ b/homeassistant/components/statistics/sensor.py @@ -63,9 +63,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/"