Fallback for sensor._has_changes

This commit is contained in:
Fabio Manganiello 2023-04-02 15:38:49 +02:00
parent 962c55937d
commit 45e5ca47e7
1 changed files with 1 additions and 4 deletions

View File

@ -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,