Skip to content

Commit

Permalink
Superfluous None (home-assistant#13326)
Browse files Browse the repository at this point in the history
  • Loading branch information
dgomes authored and balloob committed Mar 19, 2018
1 parent 89c7c80 commit 4968318
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion homeassistant/components/sensor/filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
vol.Required(CONF_FILTER_NAME): FILTER_NAME_TIME_SMA,
vol.Optional(CONF_TIME_SMA_TYPE,
default=TIME_SMA_LAST): vol.In(
[None, TIME_SMA_LAST]),
[TIME_SMA_LAST]),

vol.Required(CONF_FILTER_WINDOW_SIZE): vol.All(cv.time_period,
cv.positive_timedelta)
Expand Down

0 comments on commit 4968318

Please sign in to comment.