From e55f11296e4cf53afd0353d1ec332129ddd55744 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Sat, 4 Feb 2023 14:32:33 +0100 Subject: [PATCH] Fix accidentally introduced breaking change in number entity (#87383) --- homeassistant/components/number/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/homeassistant/components/number/__init__.py b/homeassistant/components/number/__init__.py index 980b9131f8e..488c555e21e 100644 --- a/homeassistant/components/number/__init__.py +++ b/homeassistant/components/number/__init__.py @@ -24,7 +24,7 @@ from homeassistant.helpers.entity_component import EntityComponent from homeassistant.helpers.restore_state import ExtraStoredData, RestoreEntity from homeassistant.helpers.typing import ConfigType -from .const import ( +from .const import ( # noqa: F401 ATTR_MAX, ATTR_MIN, ATTR_STEP, @@ -32,6 +32,7 @@ from .const import ( DEFAULT_MAX_VALUE, DEFAULT_MIN_VALUE, DEFAULT_STEP, + DEVICE_CLASSES_SCHEMA, DOMAIN, SERVICE_SET_VALUE, UNIT_CONVERTERS,