- исправлена логика filter_value

This commit is contained in:
Викторов Андрей Германович
2023-10-15 13:56:44 +03:00
parent 89d261bd9c
commit 4edc0dcb4f

View File

@@ -134,6 +134,8 @@ class FilterBadValues(MegaPushEntity, SensorEntity):
super().__init__(*args, **kwargs)
def filter_value(self, value):
if value is None:
return
try:
if (
value in self.filter_values