Fallback for sensor._has_changes

This commit is contained in:
Fabio Manganiello 2023-04-02 15:38:49 +02:00
parent 962c55937d
commit 45e5ca47e7

View file

@ -174,10 +174,7 @@ class SensorPlugin(RunnablePlugin, SensorEntityManager, ABC):
for i, value in enumerate(new_data) for i, value in enumerate(new_data)
) )
raise AssertionError( return old_data != new_data
f'Mismatching types for old_data and new_data: "{type(old_data)}" '
f'and "{type(new_data)}"'
)
def _process_scalar_threshold_events( def _process_scalar_threshold_events(
self, self,