mirror of
https://github.com/home-assistant/core.git
synced 2025-07-09 14:27:07 +00:00
Fixed the range filter unknown argument precision (#19428)
In HomeAssistant 0.84.3, the range filter would not work due to the unexpected precision filter parameter. The default range scheme has been edited to remove the unexpected precision parameter. Verified and tested.
This commit is contained in:
commit
c789f11ef8
@ -79,7 +79,7 @@ FILTER_LOWPASS_SCHEMA = FILTER_SCHEMA.extend({
|
||||
default=DEFAULT_FILTER_TIME_CONSTANT): vol.Coerce(int),
|
||||
})
|
||||
|
||||
FILTER_RANGE_SCHEMA = FILTER_SCHEMA.extend({
|
||||
FILTER_RANGE_SCHEMA = vol.Schema({
|
||||
vol.Required(CONF_FILTER_NAME): FILTER_NAME_RANGE,
|
||||
vol.Optional(CONF_FILTER_LOWER_BOUND): vol.Coerce(float),
|
||||
vol.Optional(CONF_FILTER_UPPER_BOUND): vol.Coerce(float),
|
||||
|
Loading…
x
Reference in New Issue
Block a user