@@ -229,15 +229,16 @@ def to_yaml(self):
229
229
'manufacturer' : self .manufacturer .name ,
230
230
'model' : self .model ,
231
231
'slug' : self .slug ,
232
+ 'description' : self .description ,
232
233
'default_platform' : self .default_platform .name if self .default_platform else None ,
233
234
'part_number' : self .part_number ,
234
235
'u_height' : float (self .u_height ),
235
236
'is_full_depth' : self .is_full_depth ,
236
237
'subdevice_role' : self .subdevice_role ,
237
238
'airflow' : self .airflow ,
238
- 'comments' : self .comments ,
239
239
'weight' : float (self .weight ) if self .weight is not None else None ,
240
240
'weight_unit' : self .weight_unit ,
241
+ 'comments' : self .comments ,
241
242
}
242
243
243
244
# Component templates
@@ -415,9 +416,10 @@ def to_yaml(self):
415
416
'manufacturer' : self .manufacturer .name ,
416
417
'model' : self .model ,
417
418
'part_number' : self .part_number ,
418
- 'comments ' : self .comments ,
419
+ 'description ' : self .description ,
419
420
'weight' : float (self .weight ) if self .weight is not None else None ,
420
421
'weight_unit' : self .weight_unit ,
422
+ 'comments' : self .comments ,
421
423
}
422
424
423
425
# Component templates
0 commit comments