From 3a315c3b34d69a8bb5f37149b68c660149753661 Mon Sep 17 00:00:00 2001 From: Florian Meinicke Date: Wed, 4 Dec 2024 11:32:42 +0100 Subject: [PATCH] Fix default value of Historizing variable attribute in uaprotocol_hand.py According to the specification, "[t]he Historizing attribute indicates whether the Server is actively collecting data for the history of the Variable. [...] Default value is FALSE." --- asyncua/ua/uaprotocol_hand.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/asyncua/ua/uaprotocol_hand.py b/asyncua/ua/uaprotocol_hand.py index 13687fe14..867ef501d 100644 --- a/asyncua/ua/uaprotocol_hand.py +++ b/asyncua/ua/uaprotocol_hand.py @@ -271,7 +271,7 @@ def __post_init__(self): @dataclass class VariableAttributes(auto.VariableAttributes): ArrayDimensions: List[uatypes.UInt32] = None - Historizing: uatypes.Boolean = True + Historizing: uatypes.Boolean = False AccessLevel: uatypes.Byte = auto.AccessLevel.CurrentRead.mask UserAccessLevel: uatypes.Byte = auto.AccessLevel.CurrentRead.mask SpecifiedAttributes: uatypes.UInt32 = (