Spelling updates (#82867)
This commit is contained in:
parent
d72802cfb0
commit
63d519c1a8
25 changed files with 27 additions and 27 deletions
|
@ -134,7 +134,7 @@ def number_limit_sub_validator(entity_config: OrderedDict) -> OrderedDict:
|
|||
|
||||
if dpt_class is None:
|
||||
raise vol.Invalid(f"'type: {value_type}' is not a valid numeric sensor type.")
|
||||
# Inifinity is not supported by Home Assistant frontend so user defined
|
||||
# Infinity is not supported by Home Assistant frontend so user defined
|
||||
# config is required if if xknx DPTNumeric subclass defines it as limit.
|
||||
if min_config is None and dpt_class.value_min == float("-inf"):
|
||||
raise vol.Invalid(f"'min' key required for value type '{value_type}'")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue