We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 322a93e commit 3b4c63cCopy full SHA for 3b4c63c
src/bthome.py
@@ -461,7 +461,7 @@ def _pack_service_data(self, *args):
461
) # indicates a 16-bit service UUID follows
462
service_data_bytes += pack("<H", BTHome._SERVICE_UUID16)
463
service_data_bytes += pack("B", BTHome._DEVICE_INFO_FLAGS)
464
- for object_id in args:
+ for object_id in sorted(args):
465
func = BTHome._object_id_functions[object_id]
466
property = BTHome._object_id_properties[object_id]
467
value = getattr(self, property)
0 commit comments