Skip to content

Commit 54fd55a

Browse files
authored
Remove unused ATTR_STEP_VALIDATION from number (home-assistant#152179)
1 parent cc64fa6 commit 54fd55a

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

homeassistant/components/number/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
ATTR_MAX,
3636
ATTR_MIN,
3737
ATTR_STEP,
38-
ATTR_STEP_VALIDATION,
3938
ATTR_VALUE,
4039
DEFAULT_MAX_VALUE,
4140
DEFAULT_MIN_VALUE,
@@ -184,7 +183,7 @@ class NumberEntity(Entity, cached_properties=CACHED_PROPERTIES_WITH_ATTR_):
184183
"""Representation of a Number entity."""
185184

186185
_entity_component_unrecorded_attributes = frozenset(
187-
{ATTR_MIN, ATTR_MAX, ATTR_STEP, ATTR_STEP_VALIDATION, ATTR_MODE}
186+
{ATTR_MIN, ATTR_MAX, ATTR_STEP, ATTR_MODE}
188187
)
189188

190189
entity_description: NumberEntityDescription

homeassistant/components/number/const.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@
5757
ATTR_MIN = "min"
5858
ATTR_MAX = "max"
5959
ATTR_STEP = "step"
60-
ATTR_STEP_VALIDATION = "step_validation"
6160

6261
DEFAULT_MIN_VALUE = 0.0
6362
DEFAULT_MAX_VALUE = 100.0

0 commit comments

Comments
 (0)