forked from platypush/platypush
Fallback for sensor._has_changes
This commit is contained in:
parent
962c55937d
commit
45e5ca47e7
1 changed files with 1 additions and 4 deletions
|
@ -174,10 +174,7 @@ class SensorPlugin(RunnablePlugin, SensorEntityManager, ABC):
|
|||
for i, value in enumerate(new_data)
|
||||
)
|
||||
|
||||
raise AssertionError(
|
||||
f'Mismatching types for old_data and new_data: "{type(old_data)}" '
|
||||
f'and "{type(new_data)}"'
|
||||
)
|
||||
return old_data != new_data
|
||||
|
||||
def _process_scalar_threshold_events(
|
||||
self,
|
||||
|
|
Loading…
Reference in a new issue