fix(message.py): provide id_ in ack() and hello()

This commit is contained in:
2025-10-05 13:42:23 +02:00
parent 6ce742667a
commit 1ab577ebd5

View File

@@ -133,6 +133,7 @@ class Message:
Message: The created ACK message.
"""
return cls(
id_=None,
category=Category.CONTROL,
action=ControlAction.ACK,
payload={"target_id": target_id},
@@ -148,6 +149,7 @@ class Message:
Message: The created HELLO message.
"""
return cls(
id_=None,
category=Category.CONTROL,
action=ControlAction.HELLO,
payload={"mac": mac},