(entities, entity_id, alarm_id)
Deletes the alarm from the collection, or throws an error if it does not exist.
Deletes the alarm from the collection, or throws an error if it does not exist.
Deletes the alarm from the collection or throws an error if it does not exist .
def _delete_alarm(entities, entity_id, alarm_id):
    """
    Deletes the alarm from the collection, or throws an error if it does not exist.
    """
    entity = _get_parent_entity(entities, entity_id)

    _delete_object(entity.alarms,
                   'Alarm',
                   alarm_id,
                   '{0}:{1}'.format(entity_id, alarm_id))
def _delete_alarm ( entities , entity_id , alarm_id ) : entity = _get_parent_entity ( entities , entity_id ) _delete_object ( entity . alarms , 'Alarm' , alarm_id , '{0}:{1}' . format ( entity_id , alarm_id ) )