def nat_gateway_absent(name=None, subnet_name=None, subnet_id=None,
                       region=None, key=None, keyid=None, profile=None):

    ret = {'name': name,
           'result': True,
           'comment': '',
           'changes': {}
           }

    r = __salt__['boto_vpc.describe_nat_gateways'](subnet_name=subnet_name,
                                             subnet_id=subnet_id,
                                             region=region, key=key, keyid=keyid,
                                             profile=profile)
    if not r:
        ret['comment'] = 'Nat gateway does not exist.'
        return ret

    if __opts__['test']:
        ret['comment'] = 'Nat gateway is set to be removed.'
        ret['result'] = None
        return ret

    for gw in r:
        rtbl_id = gw.get('NatGatewayId')
        r = __salt__['boto_vpc.delete_nat_gateway'](nat_gateway_id=rtbl_id,
                                                release_eips=True,
                                                region=region,
                                                key=key, keyid=keyid,
                                                profile=profile)
        if 'error' in r:
            ret['result'] = False
            ret['comment'] = 'Failed to delete nat gateway: {0}'.format(r['error']['message'])
            return ret
        ret['comment'] = ', '.join((ret['comment'], 'Nat gateway {0} deleted.'.format(rtbl_id)))
    ret['changes']['old'] = {'nat_gateway': rtbl_id}
    ret['changes']['new'] = {'nat_gateway': None}
    return ret
Set input_boolean to False.
dataset/ETHPy150Open saltstack/salt/salt/states/boto_vpc.py/nat_gateway_absent--crossover with--dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/input_boolean.py/turn_off