diff --git a/pyghmi/redfish/command.py b/pyghmi/redfish/command.py index 40f903cb..d2b75619 100644 --- a/pyghmi/redfish/command.py +++ b/pyghmi/redfish/command.py @@ -918,6 +918,9 @@ class Command(object): defaultval, defaultval) if attr['Type'] == 'Integer' and defaultval: defaultval = int(defaultval) + if attr['Type'] == 'Boolean': + vals = [{'ValueDisplayName': 'True'}, + {'ValueDisplayName': 'False'}] addon[attr['AttributeName']] = { 'default': defaultval, 'help': attr.get('HelpText', None),