Disable logging of ZwaveValueEvent objects, as they tend to be very verbose

This commit is contained in:
Fabio Manganiello 2021-03-11 17:53:39 +01:00
parent b06867dc5d
commit 3d6af00ee6

View file

@ -154,6 +154,7 @@ class ZwaveValueEvent(ZwaveEvent):
Abstract class for Z-Wave value events.
"""
def __init__(self, node: Dict[str, Any], value: Dict[str, Any], *args, **kwargs):
kwargs['disable_logging'] = True
super().__init__(*args, node=node, value=value, **kwargs)